1.0.1 • Published 7 years ago

fetch_feed v1.0.1

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

Gateway from CU-BEMS to NETPIE

Installation

npm install fetch_feed

Usage

void fetch_feed.feed(PointID,ValueName,APPID,APPKEY,APPSECRET,FeedName);

Example

var fetch_feed = require('fetch_feed'); //request fetch_feed module
const PointID = "PointID" ; //url PointID in CU-BEMS storage
const ValueName = "Temperature"; // Valuename must be the same as field in NETPIE FEED
const APPID = "APPID"; //this value is generated by netpie
const APPKEY = "APPKEY"; //this value is generated by netpie
const APPSECRET = "APPSECRET"; //this value is generated by netpie
const FeedName = "FeedName"; //this value must be the same as Feed name in NETPIE FEED 
CUBEMS-NETPIE.getvalue(PointID,ValueName,APPID,APPKEY,APPSECRET,FeedName);
Developer
  • Tanakorn Siributdha 573021792
  • Faculty of Engineering , Chulalongkorn University
  • 4/24/2018