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
Requires
- php: ^7.4
- guzzlehttp/guzzle: ^6.5
Requires (Dev)
- overtrue/phplint: ^1.2
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-10-14 18:29:14 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