https://github.com/zackaryh8/tfl-api-wrapper-py
A wrapper for the Transport for London Unified API and TrackerNet, made with Python
https://github.com/zackaryh8/tfl-api-wrapper-py
api london py python python3 tfl transport
Last synced: about 1 year ago
JSON representation
A wrapper for the Transport for London Unified API and TrackerNet, made with Python
- Host: GitHub
- URL: https://github.com/zackaryh8/tfl-api-wrapper-py
- Owner: ZackaryH8
- License: mit
- Created: 2021-03-02T01:25:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T11:28:42.000Z (over 1 year ago)
- Last Synced: 2025-03-23T19:51:31.123Z (about 1 year ago)
- Topics: api, london, py, python, python3, tfl, transport
- Language: Python
- Homepage: https://pypi.org/project/tflwrapper/
- Size: 103 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TfL API Wrapper
An API wrapper for the TfL Unified API, made with Python.
Read the Documentation
[](https://github.com/psf/black)
[](https://github.com/ZackaryH8/tfl-api-wrapper-py/issues)
## Installation
```
pip install tflwrapper
```
## Contribute
There are many ways to contribute to this repo.
- [Submit bugs](https://github.com/ZackaryH8/tfl-api-wrapper-py/issues) and help us verify fixes as they are checked in.
- Review the [source code changes](https://github.com/ZackaryH8/tfl-api-wrapper-py/pulls).
## Example Usage
### StopPoint
```py
from tflwrapper import stopPoint
app_key = "YOUR_API_KEY_HERE"
stoppoint = stopPoint(app_key)
arrivals = stoppoint.getStationArrivals('940GZZLUAS')
print(arrivals)
```
## Disclaimer
This repository is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Transport for London (TfL) or it's parent organisation Greater London Authority (GLA)