https://github.com/pyramation/teslapi
https://github.com/pyramation/teslapi
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyramation/teslapi
- Owner: pyramation
- License: mit
- Created: 2020-08-13T02:29:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T01:46:28.000Z (almost 6 years ago)
- Last Synced: 2025-03-13T02:03:53.638Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tesla
```
npm install teslapi
```
Basically refactored version of https://github.com/mseminatore/TeslaJS
* async/await native
* works in *both* browser and server!!
* a lot less code ;)
# Warranty Disclaimer
You may use this library with the understanding that doing so is
**AT YOUR OWN RISK**. No warranty, express or implied, is made with regards
to the fitness or safety of this code for any purpose. If you use this
library to query or change settings of your vehicle you understand that it
is possible to make changes that could inadvertently lower the security of
your vehicle, or cause damage, through actions including but not limited to:
* Unlocking the vehicle
* Remotely starting the vehicle
* Opening the sunroof
* Opening the frunk or trunk
* Lowering the battery charge level
* Impacting the long-term health of your battery
> Please be careful not to use this code in a way that loads the Tesla servers
> with too many concurrent requests. Calling the Tesla REST APIs at a very high
> frequency will stress the Tesla servers and could get your IP or favorite
> cloud service blocked by Tesla. Or in the worst case it could cause Tesla
> to revoke the key that enables access via this and many other libraries.