Google+ API 0.0.1
What's this?
This is a Node module for making requests using the official Google+ API (v1).
Important!* This is an early version. It currently has no support (but should later on) for OAuth. Also, it assumes that when you request a user's activities they are of the public collection.
See the Google+ API docs for more on available parameter options. https://developers.google.com/+/api/
Dependencies
This module employs https, which come stock in Node. So you shouldn't have to npm anything.
Creating a new instance
Using your API key you can create a new instance of the module as follows:
var GooglePlusAPI = ;var plus = 'YOUR-API-KEY';
Getting a user's profile
Once you have your instance you can get a user's profile by doing something like:
// id, callbackplus; // id, options, callbackplus;
Getting a user's activities
Getting a user's activities looks something like:
// id, callbackplus; // id, options, callbackplus;
Getting a specific activity
Once you have a list of activities from a user, you can then get more information for a specific one:
// activity id, callbackplus; // id, options, callbackplus;
Future updates
The Google+ API just came out. So this will likely be updated in the near future.