Files
archived-teslamateapi/README.md
Tobias Lindberg d7d2ff3fef adding support for more env-vars
updating a little in README
2021-02-13 17:24:13 +01:00

1.1 KiB
Raw Blame History

TeslaMateApi

TeslaMateApi is a RESTful API to get data collected by self-hosted data logger TeslaMate in JSON.

  • Written in Golang
  • Data is collected from TeslaMate Postgres database and local MQTT Broker
  • Endpoints return data in JSON format

How to use

Information will be updated..

API documentation

More detailed documentation of every endpoint will come..

  • GET /cars
  • GET /cars/:CarID
  • GET /cars/:CarID/charges
  • GET /cars/:CarID/charges/:ChargeID
  • GET /cars/:CarID/drives
  • GET /cars/:CarID/drives/:DriveID
  • GET /cars/:CarID/status
  • GET /cars/:CarID/updates
  • GET /globalsettings
  • GET /ping

Security information

There is no possibility to get access to your Tesla account tokens by this API and we'll keep it this way!

The data that is accessible is data like the cars, charges, drives, current status, updates and global settings.

Credits