feed_1888
v1.0.4
Published
just test my project
Downloads
1
Readme
Gateway from NETPIE to CU-BEMS Storage
Installation
npm install feed_1888
Usage
void feed_1888.fw = function(NameFeed,APIkey,granularity,granularity_unit,since,since_unit,valuename,PointID)
- NameFeed
string
- name of the feed - APIkey
string
- apikey for authorization - granularity
number
- precision level of data point - granularity_unit
string
- can be minute, hour, day, month, year - since
number
- peroid of time until present - since_unit
string
- can be minute, hour, day, month, year - valuename
string
- name of the feed field - PointID
string
- url in 161.200.90.122(FIAP Storage)
Example
var feed_write = require('feed_1888'); //request feed_1888 module
var FeedName = 'Feedname'; //this value must be the same as Feed name in NETPIE FEED
var APIkey = 'APIkey'; //this value is generated by netpie
var granularity = '5';
var granularity_unit = 'second';
var since = '24';
var since_unit = 'hours';
var valuename = 'FeedName'; //this input must be the same as field in NETPIE FEED
var PointID = 'PointID'; //URL Point id in FIAP Storage
feed_write.fw(FeedName,APIkey,granularity,granularity_unit,since,since_unit,valuename,PointID);
Developer
- Tanakorn Siributdha 573021792
- Faculty of Engineering , Chulalongkorn University
- 4/23/2018