Coder Social home page Coder Social logo

php.googleplusapi's Introduction

An unofficial Google Plus API. Right now this consists of the following:

PHP Classes
-----------
GoogleUtil - functions for parsing the almost-JSON that Google Plus produces
PlusPerson - a person entity in Gooogle plus that can be stored to a local mysql DB
PlusRelationship - a relationship between people in Google plus. This does not contain any circle context
PlusPost - a post to a user's activty stream
PostAttachment - encapsulates a media attachment to a post


Tests
-----------
tests/plususer.php?plusid=xxxxxxxx - demonstrates loading and caching users, as well as traversing the social graph
tests/plusactivity.php?plusid=xxxxxxx - demonstrates loading and caching public posts from a user's activity stream


API
-----------
api/getplusperson.php?plusid=xxx - JSON(P) API for retrieving profile data for a person.
api/getplusposts.php?plusid=xxx - JSON(P) API for retrieving post activty for a person.


Installation
------------
1. Copy includes/config.inc.editme to /includes/config.inc
2. Edit config.inc with your path, url and mysql information
3. Import the sql tables in the sql/ subdirectory


TODO
-----------

- create getters for the rest of the data fields into the PlusPerson and PlusPosts objects
- do something interesting with all of this

php.googleplusapi's People

Contributors

jmstriegel avatar

Stargazers

hardik avatar

Watchers

hardik avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.