Skip to content

juan-m12i/tfl-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TfL API - Transport for London - Python Client

This is a beta client for the Transport for London Beta Api.

Compatible with Python 2 and 3. No dependencies required.

More documentation to come, but a simple usage:

from tfl_api import TfLAPI
api = TfLAPI({app_id="1234567", app_key="11bbccdd"})
response = api.get_line_arrivals("c2", "490003380N")
print (response.code)
### 200
print (response.data)
### { JSON }

About

A python wrapper for the TfL API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages