Coder Social home page Coder Social logo

Move docs off of Apiary about tesla-api HOT 15 CLOSED

timdorr avatar timdorr commented on July 19, 2024
Move docs off of Apiary

from tesla-api.

Comments (15)

jamietownsend avatar jamietownsend commented on July 19, 2024 1

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.

mseminatore avatar mseminatore commented on July 19, 2024

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.

timdorr avatar timdorr commented on July 19, 2024

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.

timdorr avatar timdorr commented on July 19, 2024

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.

mseminatore avatar mseminatore commented on July 19, 2024

from tesla-api.

timdorr avatar timdorr commented on July 19, 2024

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.

mseminatore avatar mseminatore commented on July 19, 2024

from tesla-api.

timdorr avatar timdorr commented on July 19, 2024

They're filtered from the cassette file

from tesla-api.

timdorr avatar timdorr commented on July 19, 2024

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.

jonasman avatar jonasman commented on July 19, 2024

have you thought about openapi3 (swagger) documentation?

from tesla-api.

timdorr avatar timdorr commented on July 19, 2024

It's not OpenAPI-compliant, as far as I can tell.

from tesla-api.

jonasman avatar jonasman commented on July 19, 2024

i think 3.0 is openapi, swagger was 2.0. https://github.com/OAI/OpenAPI-Specification

from tesla-api.

timdorr avatar timdorr commented on July 19, 2024

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.

timdorr avatar timdorr commented on July 19, 2024

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.

timdorr avatar timdorr commented on July 19, 2024

OK, it's all moved over! 🎉

from tesla-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.