current-ie
v0.1.0
Published
A Node.js wrapper for the GE Current Intelligent Environments API
Downloads
11
Maintainers
Readme
current-ie
A Node.js wrapper for GE Current Intelligent Environments API
This is a work in progress (only does parking service), not published to NPM, yet.
Installation
npm install current-ie --save
Example
const zoneId = 'predix-zone-id'
const token = 'jwt'
const CurrentIE = require('../lib/current-ie')
const api = new CurrentIE(token, zoneId)
api.getAssetDetailByAssetId('1000018').then((asset) => {
console.log('Woo an asset', asset)
}).catch((err) => {
console.error('An error occurred', err)
})
License
Copyright (c) 2016 Christopher Combs
Licensed under the MIT license.