Skip to content

edddeduck/pyze

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyZE: Python client for Renault ZE API

CLI Quickstart

python3 setup.py install

export GIGYA_API_KEY=XXXXXXXX
export KAMEREON_API_KEY=YYYYYYYY

pyze login  # You should only need to do this once
pyze status

API Quickstart

from pyze.api import Gigya, Kamereon, Vehicle

g = Gigya()
g.login('email', 'password')  # You should only need to do this once
g.account_info()  # Retrieves and caches person ID

k = Kamereon(gigya=g)  # Gigya argument is optional - if not supplied it will create one

v = Vehicle('YOUR_VIN', k)  # Kamereon argument is likewise optional

v.battery_status()

Further details

See the original blog post for a walkthrough of the required steps to authenticate and use the API.

About

Unofficial Python client and API for Renault ZE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%