This is a python wrapper for the ecobici api
Project description
Ecobici python wrapper
Installation
pip install ecobici
Usage
# Import module
from ecobici import Ecobici
# Initialize client
client = Ecobici(your_client_id, your_client_secret)
# Get list of stations
list_of_stations = client.get_stations_list()
# Get status of stations
stations_status = client.get_stations_status()
# (Optional) Force refresh token
client.refresh_token()
Notes
There's no need to refresh the token when it expires. The client does it automatically.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ecobici-0.0.2.tar.gz
(2.6 kB
view hashes)