Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teslaclient-0.0.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file teslaclient-0.0.5.tar.gz.

File metadata

  • Download URL: teslaclient-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for teslaclient-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9c331e1f574fb54034595ea0dcf66d5d72db99b59d8bcc6edf8668378147c263
MD5 807e0a04cd447afc381646002da246a7
BLAKE2b-256 73801a1ad26d0f51b99e6e745b1c5fdfbd90222e987752fadf90910860a9a92e

See more details on using hashes here.

File details

Details for the file teslaclient-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: teslaclient-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for teslaclient-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f7db3c6b8acbf48617a3709dba68b127d1a6bc9ede8ca5f692e53a4fc5011bee
MD5 ac94d1d8c3dd8d7b47ea8d98cc6a2f35
BLAKE2b-256 6cc33fd64956ea994780eba903a1d1563fd23f33b376906785fde87d632b428c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page