Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.3 KB

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