Skip to main content

Python Tesla API wrapper

Project description

Tesla API wrapper


Use the package manager pip to install TeslaClient

pip install TeslaClient


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for teslaclient, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size teslaclient-0.0.5-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size teslaclient-0.0.5.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page