0.1.0 • Published 8 years ago

current-ie v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

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.