Skip to main content

A python API to consume transit data from

Project description


Python API to consume transit data from

In order to use this library, you will need to signup for a developer token.

Sample usage

from fiveoneone.route import Route
from fiveoneone.stop import Stop

route = Route(token, "SFMTA", "45-Union Stockton", "45", True)
stop = Stop(token, "Union St and Buchanan St", "17056")
departures = stop.next_departures(route.code, "Outbound")
print "{} Outbound will arrive to {} in {} minutes".format(route.code,, departures.times[0])
# 45 Outbound will to Union St and Buchanan St in 5 minutes
  • See the tests/ for other usages.

Run the tests has all the requirements to run the tests. After that, from the repo root do to run all the available tests:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fiveoneone, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size fiveoneone-0.6.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View
Filename, size fiveoneone-0.6.0-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page