Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Ottabotics/PiMonth2019-PiOT

Repository files navigation

PiMonth2019-PiOT 🚀

The oc.py script can be used to interface with the OC Transpo API. You give it a stop number, and it will give you either a summary of the upcoming trips for that stop, or just the formatted JSON that the API spits out when you give it a stop number (useful for debugging purposes).

Usage

$ python oc.py (app_id) (api_key) [-json]

where:

  • (app_id) is your Application ID
  • (api_key) is your API key
  • -json is an optional parameter - if you include it, you'll just get the API's JSON output. Otherwise, you get the regular bus stop summary.

Dependencies

  • Python 3.7

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages