A Python client for interacting with the MBTA API
Project description
MBTAclient
MBTAclient is a Python client library for interacting with the Massachusetts Bay Transportation Authority (MBTA) API. This library provides access to MBTA data, including routes, predictions, schedules, and more.
Features
- Structured objects to retrieve and access information about:
- MBTA Routes
- MBTA Stops
- MBTA Trips
- MBTA Schedules
- MBTA Predictions
- MBTA Alerts
- Two handlers to simplify the retrieval and access to journey information, including near-live scheduling, stops, and alerts:
journeys_handler: Provides a list of the next N (N=max_journeys) journeys from a departure stop (depart_from_name) to an arrival stop (arrive_at_name).trip_handler: Provides a single journey on a given commuter rail trip (trip) from a departure stop (depart_from_name) to an arrival stop (arrive_at_name).
- Easily integrates with Home Assistant or other Python-based systems.
Contributing
Contributions are welcome! If you would like to contribute to this project, please fork the repository and submit a pull request.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mbtaclient-0.2.5.tar.gz
(11.6 kB
view hashes)
Built Distribution
MBTAclient-0.2.5-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for MBTAclient-0.2.5-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 76060ea15570ed4534f86a9ba0bd94086fa631dee0cb92f12bb73bd709ac7a9e |
|
| MD5 | e635471037b13a16473f747f6036df20 |
|
| BLAKE2b-256 | 8faf9199f3ed00b6005f6bb39a899c4af35e895cdc225fe11c590bc05f6f5878 |