0.3.0 • Published 8 years ago

atb-cli v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

atb-cli

Small CLI to ATBs bus API in Trondheim. Use it to retrieve real time information about bus stops.

Installation

Use from your command line: npm install -g atb-cli

Use from your own project: npm install atb-cli

Usage (command line)

atb [stop-id] lists real-time data for this specific stop

atb [stop-name] lists matching stops with corresponding stop-id

Usage (code)

Nothing really stops you from using this in your own application. If this is interesting, look in the code for usage. api.js contains the API it self, while index.js contains simple usage. Make an issue if you have questions.

Bugs, improvements, contribution, etc..

Open an issue. I accept pull requests fixing small issues, but please discuss it first if it changes parts of the functionality.

Credits

API originally by ATB. API wrapper by link Tri Nguyen