1.0.5 • Published 6 years ago

ifleet v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

##iFleet

This module is based on the documentation here http://api-docs.opskii.com/

To install the module run npm install ifleet

Generate Token

var iFleetToken = require('ifleet/iFleetToken')
const credentials = {"username": "username", "password": "password", "env": "staging"}
let token = new iFleetToken(credentials.username, credentials.password, credentials.env)

function main() {
  return token.generate();
}

main().then(function(result) {
  console.log(result.headers.authorization);
});
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago