serviceproviders

1.0.1 • Public • Published

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: 'group@example.com',
    // memberKey: 'member@example.com',
    // resource: {
    //     "email": "rivkat@linnovate.net",
    //     "role": "MEMBER"
    // }
}, function(err, list) {
    console.log(list, err);
})
 

/serviceproviders/

    Package Sidebar

    Install

    npm i serviceproviders

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • linnovate
    • rivkat