oc-transpo

1.0.13 • Public • Published

OC Transpo

NPM version Build Status Coverage Status Known Vulnerabilities Dependencies Downloads Install Size Contributors Pull Requests Welcome

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

Package Sidebar

Install

npm i oc-transpo

Weekly Downloads

19

Version

1.0.13

License

MIT

Unpacked Size

22.4 kB

Total Files

3

Last publish

Collaborators

  • nitro404