Skip to content

NodeJS client for Google APIs (or any other API that supports Google discovery service)

Notifications You must be signed in to change notification settings

tapvt/discovery-services-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discovery-services-client

NodeJS client for Google APIs (or any other API that supports Google discovery service)

Many of Google's APIs can now be accessed via a discovery service, see Google APIs Discovery Service. This package queries that (or a similar) discovery service and generates Node.js bindings to the service.

Here's a simple example:

var google = require('discovery-services-client');

google.generateAPI({
//    apiKey: 'put-your-api-key-here-if-required'
}, function (err, api) {
    api.plus.people.search({
        query: 'Dave',
        maxResults: 5
    }, function (err, res, user) {
        if (err) {
            console.log('ERROR:', err);
            return;
        }
        console.log(user);
    });
});

Simple, huh?

About

NodeJS client for Google APIs (or any other API that supports Google discovery service)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%