oc-transpo
v1.0.13
Published
A wrapper for the OC Transpo API.
Downloads
26
Maintainers
Readme
OC Transpo
This module is currently incompatible with the latest version of OC Transpo's RESTful API.
A wrapper for the OC Transpo API.
This module is unofficial and is in no way affiliated with OC Transpo.
Server-Side Usage
const transit = require("oc-transpo");
transit.setup({
key: "42361af08a221433b423a1e662175fa4",
appID: "ddc42a1b"
});
transit.getStopInformation(3000, function(error, data) {
if(error) {
return console.error(error);
}
return console.log(data);
});
Installation
To install this module:
npm install oc-transpo
Building
To build the distribution files for this module:
npm run build
or
gulp build