0.0.6 • Published 9 months ago
fusion-admin-client v0.0.6
fusion-admin-module
NPM Module that implements Fusion administration APIs
Install from NPM
https://www.npmjs.com/package/fusion-admin-module
Local development
Clone this git repo.
Install the dependencies
npm install
Usage
This module was written using Typescript.
Step 1 - Create an instance of the FusionClient class
const client = new FusionClient({
orgId: '', // Unique id for the Fusion org.
token: '', // Integration token generated from Fusion
url: '', // The based admin URL for the Fusion admin API
});
Step 2 - Make a call (example, return list of teams for the given org)
client.getTeams(parseInt(orgId)).then((teamList) => {
console.log(teamList);
});