/tfl-api-wrapper-py

A wrapper for the Transport for London Unified API and TrackerNet, made with Python

Primary LanguagePythonMIT LicenseMIT

TfL Logo

TfL API Wrapper

An API wrapper for the TfL Unified API, made with Python.

Read the Documentation

Code style: black

Installation

pip install tflwrapper

Contribute

There are many ways to contribute to this repo.

Example Usage

StopPoint

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)