Skip to content

Get access to OCtranspo bus schedule from the terminal

License

Notifications You must be signed in to change notification settings

Abdulwahaab710/ocTerminal

Repository files navigation

ocTerminal Build Status

Screenshots

Screenshot with bus specifications
Screenshot with bus specifications
Screenshot without bus specifications
Screenshot without bus specifications

ocTerminal is a python script that allows you to check the bus schedule from the terminal

To use the script you will need to get an API key from OC transpo, and then add the api key to the .env file.

Installation

First clone the repository

 git clone https://github.com/Abdulwahaab710/ocTerminal

Rename .env-sample => .env

  mv .env-sample .env
  # Adding the directory to the PATH
  path=$(pwd)/ocTerminal
  PATH=~$path:$PATH

Add you API_KEY and APP_ID to the .env file

Run

To run ocTerminal:

  python ocTerminal <bus stop\station number> [<bus numbers>]

Example

  python pcTerminal 3000 85 95 98

About

Get access to OCtranspo bus schedule from the terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages