Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (13 sloc) 553 Bytes


Simple Google Data API client for OAuth 2.0 with express + connect.

npm install gdata-js


gdata-js has two methods:

  • getAccessToken(req, res, callback): Goes through the OAuth 2.0 flow to get an access token
  • getFeed(http_method, path, params, callback): Does a call to the Google Data API to get a feed object.

oauth_token must be contained in the params argument as demonstrated in test.js


Enter your consumer key and secret in test.js

cd test
node test.js

open http://localhost:8553