Skip to content

elemongw/oasa.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oasa.py

GitHub Workflow Status Python 3.6+ MIT License

This package is meant to provide a simple python interface for interacting with the OASA Telematics API (WIP, not ready). It also provides a simple CLI tool, oasa.py, for searching upcoming buses (already usable).

Using oasa.py

$ oasa.py --help
usage: oasa.py [-h] [--line LINE] [--route ROUTE] [--stop [STOP ...]] [-V]

Get upcoming buses.

optional arguments:
  -h, --help         show this help message and exit
  --line LINE        line number eg. 831. Returns list of stops
  --route ROUTE      route number. Returns available routes
  --stop [STOP ...]  stop code(s). Returns upcoming buses if route is provided as well
  -V, --version      show program's version number and exit

Example usage: "oasa.py --stop 80506" or search for stop code: "oasa.py --line 831"

More Resources

Unofficial documentation for OASA Telematics API

License

Copyright © 2020 Georgios Retsinas

This project is licensed under the MIT License - see the LICENSE file for details

About

A simple python interface and CLI app for interacting with the OASA Telematics API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages