这是一个 Ruby gem 和 Tesla 的 Model S、3、X 和 Y 的 JSON API 的非官方文档。
Referrals are back! Need a vehicle to test with? Get a Tesla with free supercharging
Do you work at Tesla? Get in contact! I'd love to help with making this API official.
This is unofficial documentation of the Tesla JSON API used by the iOS and Android apps. The API provides functionality to monitor and control the Model S (and future Tesla vehicles) remotely. The project provides both a documentation of the API and a Ruby library for accessing it.
If any folks at Tesla are reading this, I'd love to help coordinate a developer program for your APIs. If there's any way I can be helpful, please feel free to get in contact. Also, I'd love to be in the beta firmware program :wink:
This gem provides a basic wrapper around the API to easily query and command the car remotely. It also provides access to the streaming API and a means to process data coming from it.
Add this line to your application's Gemfile:
gem 'tesla_api'Or install it yourself:
gem install tesla_apiHere's a quick example:
…Ruby portions are Copyright (c) 2014-Present Tim Dorr. Released under the terms of the MIT license. See LICENSE for details.
暂无开放 Issues,或尚未同步最近议题。