Comments (15)
I put together a swagger file (quite a while ago now and haven't updated it with newer stuff I don't currently need). You can find a copy under https://github.com/jamietownsend/tesla-java-client/blob/master/swagger-tesla-api.yaml
from tesla-api.
Happy to help out as I've both used and valued your work! I am particularly interested in seeing the calendar functionality documented.
What are you proposing as a replacement for the mock server? I just started work to use a fork of the mock server for testing purposes.
from tesla-api.
There shouldn't be a mock server. The fact that Apiary has one is simply a side effect of using their service. However, it doesn't properly mock the Tesla API (nor should it; it's non-conforming to REST), so it's misleading to use that one.
Nor do I think we should be setting up a mock server system. That's what I use VCR for in the ruby parts of this project. That way I can test against the real API surface without continually hammering them with requests.
from tesla-api.
Started some initial work here: https://timdorr.github.io/model-s-api/
Source lives here: https://github.com/timdorr/model-s-api/tree/master/docs
from tesla-api.
from tesla-api.
Yep, and I only have to record once because VCR immediately saves the request for any subsequent runs. Only if I change how I call the API will trigger a re-recording (which will error out until I clear the cassette file, so that I don't accidentally hammer their servers).
from tesla-api.
from tesla-api.
They're filtered from the cassette file
from tesla-api.
Welp: https://www.oracle.com/corporate/acquisitions/apiary/index.html
(Swear I didn't know about this ahead of time! Congrats to the Apiary folks!)
from tesla-api.
have you thought about openapi3 (swagger) documentation?
from tesla-api.
It's not OpenAPI-compliant, as far as I can tell.
from tesla-api.
i think 3.0 is openapi, swagger was 2.0. https://github.com/OAI/OpenAPI-Specification
from tesla-api.
After messing around with Jekyll far too much, I'm throwing in the towel and just using Gitbook instead. We use it over on Redux and it's worked very well for us so far. It gives a good reading experience both on their site and here on GitHub (and locally as well). Check it out: https://timdorr.gitbook.io/tesla-json-api/
from tesla-api.
Update: Put it under my personal domain: https://tesla-api.timdorr.com/ I've also put a notice at the top of the old docs. I'll clear them out and mark this closed as soon as everything is moved over.
from tesla-api.
OK, it's all moved over! 🎉
from tesla-api.
Related Issues (20)
- How to call `mobile-app/*` endpoints? HOT 3
- in `login!': undefined method `split' for nil:NilClass (NoMethodError) HOT 2
- display_name is no longer part of vehicle_data response HOT 2
- Charger occupancy
- 403 during token refresh only on docker
- HTTP Error: 403 Client Error: Forbidden for url: https://auth.tesla.com/oauth2/v3/authorize
- 403 status code on http://auth. tesla.com/oauth2/v3/authorize.. after entering email HOT 1
- "/api/1/energy_sites/{site_id}/calendar_history" API does not work when kind=energy
- Should `tesla-api` gem provide a default `retry_options`? HOT 1
- Error when try to login to tesla.com
- Endpoint `/api/1/vehicles` returns only 100 records HOT 1
- Powerwall API changes orphan downstream home assistant projects HOT 3
- Owner API will stop working as vehicles begin requiring end-to-end command authentication in 2024 HOT 22
- Is Apple removing Tesla third party apps? HOT 1
- Charge invoice PDFs HOT 2
- OpenAPI Specification HOT 1
- Tesla Signaling/Hermes Protocol to send vehicle commands
- Climate not possible with low soc HOT 4
- Sentry Events
- No longer getting results from calendar_history service where kind=energy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesla-api.