Skip to content

linnovate/service-providers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service Provider

The goal of this package is to use Services from various source

Features:

  • Using Services progrematicly

External dependencies

Usage

go get github.com/linnovate/service-providers

Create a new node file, and in your code:

"use strict"

var GoogleService = require('service-providers')('google');
var service = new GoogleService(yourClientSecret, yourClientID, yourCallbackURL);

service.sdkManager('members', 'list', {
    // groupKey: '[email protected]',
    // memberKey: '[email protected]',
    // resource: {
    //     "email": "[email protected]",
    //     "role": "MEMBER"
    // }
}, function(err, list) {
    console.log(list, err);
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published