https://github.com/linnovate/service-providers
https://github.com/linnovate/service-providers
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/linnovate/service-providers
- Owner: linnovate
- Created: 2016-05-24T06:42:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-07-25T05:06:23.000Z (3 months ago)
- Last Synced: 2025-07-25T10:43:33.239Z (3 months ago)
- Language: JavaScript
- Size: 13.9 MB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Service Provider
The goal of this package is to use Services from various source
Features:
* Using Services progrematicly
## External dependencies
## Usage
```bash
go get github.com/linnovate/service-providers
```
Create a new node file, and in your `code`:
```javascript
"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);
})
```