Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

gdata-js

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdata-js

Simple OAuth 2.0 GData API client


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created

gdata-js

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

npm install gdata-js

Usage

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

Test

Enter your consumer key and secret in test.js

cd test
node test.js

open http://localhost:8553

Keywords

FAQs

Package last updated on 25 May 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts