Gigya SDK
Install
npm install --save gigya-sdk
Setup
const Gigya = require('gigya-sdk');
const gigyaAccounts = new Gigya.Accounts({
apiKey: '',
secret: '',
ssl: true,
});
Usage
Callbacks
gigyaAccounts.getAccountInfo({ UID: '' }, (err, result) => {
//
});
Promises
gigyaAccounts.getAccountInfo({ UID: '' }).then((response) => {
//
});