-
Notifications
You must be signed in to change notification settings - Fork 6
Documentation
Axel Niklasson edited this page Nov 24, 2016
·
3 revisions
Install the package using pip
by running
pip install pytrafik
import pytrafik
# Initialize the API client
client = pytrafik.Client(format='json', key='<CONSUMER_KEY>', secret='<CONSUMER_SECRET>')
# Find stops matching query
stops = client.get_stops_by_name('Chalmers')
The rest of the docs will be updated when releasing 1.0!