Python bindings to the Model S REST API
pytesla is a python binding to the Tesla Model S REST API <http://docs.timdorr.apiary.io/> so that you can monitor your car or programmatically interact with it. It makes it easy to schedule charging times, trigger heating/cooling according to weather or just gather stats.
It currently maps the REST API 1:1.
>>> import pytesla >>> mycar = pytesla.Connection('myemail', 'mypassword').vehicle('myvin') >>> mycar.honk_horn() True
$ pip install pytesla
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
pytesla-0.4.tar.gz (3.7 kB view hashes)