Skip to content

pxlcoder/PyWay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyWay

An unofficial MiWay (Mississauga Transit) API written in Python.

Usage:

import PyWay

p = PyWay.createInterface()

# Get full schedule for a route at a specific stop
print p.getFullSchedule(1306,26,"West")

# Get next three passing times for a route at a specific stop
print p.getNextPassingTime(1306,26,"West")

# Get all stop names and numbers for a route
print p.getRouteStops(26,"West")

# Access previously loaded schedules
print p.cachedSchedules[p.createID(1306,26,"West")]

# Access name and number of previously loaded stops
print p.cachedStops["1306"]

Note: This API is not endorsed by the City of Mississauga

About

An unofficial MiWay (Mississauga Transit) API written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages