avido/tesla-api-client

There is no license information available for the latest version (1.0.0) of this package.

Simple Tesla API Client

1.0.0 2020-04-28 19:11 UTC

This package is auto-updated.

Last update: 2024-11-14 18:35:46 UTC


README

PHP Client for interacting with Tesla API.

Easy read of car states and sending commands.

Basic example

See tests folder for more examples.

$client = new TeslaApiClient($youremail@domain.tld, $yourpassword);
$response = $client->getVehicles();
var_dump($response);

Using composer

composer require avido/tesla-api-client

Running tests

./vendor/bin/phpunit

Documentation used for this client

https://tesla-api.timdorr.com/api-basics/vehicles