Skip to content

Documentation

Axel Niklasson edited this page Nov 24, 2016 · 3 revisions

Documentation

Installation

Install the package using pip by running

pip install pytrafik

First example

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!

Clone this wiki locally