0.1.6 • Published 5 years ago

zenomodule v0.1.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Zeno Module - The module for good searching algorithm from XML. Mostly integrate with Line Development.

The function for line bot communication

const gonoz = require("zenomodule");

XML = JSON.parse(JSON string);   // you can import XML from XML file using another module.
texts = 'This is sample message';  // you can import msg from LINE application.
status = 'normal';               // the status can be normal, train, trainQuestion, trainAnswer.
var answer = gonoz.getAnswer(XML, texts, status); // getAnswer will return the answer analyzed from XML.
var body = gonoz.getLinebody(answer); // getLinebody will return the body used to reply command.

The function for LoRa device communication provided by CAT Telecommunication

var access_token = 'xxxxxxxxxx';  // declare the access_token.
var DevEUI = 'yyyyy';             // declare the device EUI.
var payload = 'zzz';              // declare the payload structure.
gonoz.payloadPost(access_token, DevEUI, payload);   // payloadPost will sending payload to the LoRa device.

Before installing, download and install Node.js. Node.js 6.4.0 or higher is required.

Installation is done using the npm install command:

$ npm install zenomodule

Follow my github for more information.

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago