1.0.5 • Published 7 years ago

ifleet v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago