Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Google Data API client for node.js

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md

node-gdata

Version 0.1.0

A Google Data API client for node.js. Only the latest release (version 3) of the GData protocol supported.

Install

npm install gdata

Requirements

Example (Picasa Web Albums)

var GDClient = require('node-gdata').GDClient;
var PICASA_ALBUMS_URL = 'https://picasaweb.google.com/data/feed/api/user/default';

var google = new GDClient('consumer key', 'consumer secret');

// call getAccessToken() to obtain, or setAccessToken() if you have one
google.setAccessToken('token', 'token secret');

google.get(PICASA_ALBUMS_URL, function(err, feed) {
  feed.getEntries().forEach(function(entry) {
    console.log('album: ' + entry.getTitle());
  });
});

Work in progress

getAccessToken doesn't work yet

Something went wrong with that request. Please try again.