avido / laravel-tesla-api
There is no license information available for the latest version (1.0.0) of this package.
Laravel Tesla Api Client Wrapper for https://packagist.org/packages/avido/tesla-api-client
1.0.0
2020-05-14 08:44 UTC
Requires
- avido/tesla-api-client: ^1.0
This package is auto-updated.
Last update: 2024-11-14 19:21:54 UTC
README
Laravel Package for interacting with Tesla API.
Easy read of car states and sending commands.
Basic example
$response = TeslaApi::getVehicles(); var_dump($response);
Installation
You can install this package using composer.
composer require avido/laravel-tesla-api
Publish config file
php artisan vendor:publish
Configuration
Add your email/password to config/tesla-api-client
or
Add your credentials to your .env
file
TESLA_API_EMAIL=<your email>
TESLA_API_PASSWORD=<your password>