Python Tesla API wrapper
Project description
Tesla API wrapper
Installation
Use the package manager pip to install TeslaClient
pip install TeslaClient
Usage
Import TeslaClient
t = TeslaClient('email', 'password') # instantiates the client
t.connect() # connects to the api
v = t.vehicle('vehicle name') # creates an vehicle object based on case sensitive name
v.get_vehicle_data(*args) # accepts vehicle/climate/drive/charge_state or no parameter to collect all data. Loads data into a property dict of the same name
v.send_vehicle_command(command, data={}) # sends a command to vehicle, data parameter should contain any parameters required for command
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
teslaclient-0.0.5.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for teslaclient-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7db3c6b8acbf48617a3709dba68b127d1a6bc9ede8ca5f692e53a4fc5011bee |
|
MD5 | ac94d1d8c3dd8d7b47ea8d98cc6a2f35 |
|
BLAKE2b-256 | 6cc33fd64956ea994780eba903a1d1563fd23f33b376906785fde87d632b428c |