Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 17 hours 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 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T23:28:03.000Z (10 months ago)
- Last Synced: 2024-09-24T19:28:18.664Z (about 17 hours ago)
- Topics: api, london, py, python, python3, tfl, transport
- Language: Python
- Homepage: https://pypi.org/project/tflwrapper/
- Size: 97.7 KB
- Stars: 6
- Watchers: 1
- Forks: 5
- 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
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![](https://img.shields.io/github/issues/ZackaryH8/tfl-api-wrapper-py)](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 stopPointapp_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)