node-orgmanager-api

A Node.js client for the OrgManager API

Showing:

Popularity

Downloads/wk

6

GitHub Stars

2

Maintenance

Last Commit

3yrs ago

Contributors

4

Package

Dependencies

2

Size (min+gzip)

189.1KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Node OrgManager API npm version

A Node.js client for the OrgManager API

Use

const orgmanager = require('@orgmanager/node-orgmanager-api')
const token = 'my-token' //https://orgmanager.miguelpiedrafita.com/token
const client = new orgmanager(token)

//Join Org
client.joinOrg('org-id', 'username')

//Get User info
client.getUser()

//Get User Orgs
client.getOrgs()

//Get Org info
client.getOrg('org-id')

//Change Org Password
client.changeOrgPassword('org-id', 'new-password')

//Update Org
client.updateOrg('org-id')

//Delete Org
client.deleteOrg('org-id')

//Get Stats
client.getStats()

//Renenerate Token
client.regenerateToken()

//Renenerate Token and Set new Token
client.regenerateToken(true)

Proxy

const orgmanager = require('@orgmanager/node-orgmanager-api')
const token = 'my-token' //https://orgmanager.miguelpiedrafita.com/toke
const client = new orgmanager(token, 'proxy-url ~> orgmanager')

Installation

This is a Node.js module available through the npm registry. It can be installed using the npm command line tools.

$ npm install @orgmanager/node-orgmanager-api

Dependencies

  • request: Simplified HTTP request client.
  • request-promise-native: The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100