Giter Club home page Giter Club logo

tesla's Introduction

tesla

This library provides a wrapper around the API to easily query and command a Tesla remotely in Go.

Library Documentation

https://godoc.org/github.com/bogosj/tesla

API Documentation

View Tesla JSON API Documentation

This is unofficial documentation of the Tesla JSON API used by the iOS and Android apps. The API provides functionality to monitor and control Telsa vehicles remotely. The project provides both a documention of the API and a Go library for accessing it.

Installation

go get github.com/bogosj/tesla

Usage

Examples can be found in the /examples project directory.

OAuth Token

One way to acquire an OAuth token is to run cmd/login.

# cd cmd/login

# go run . -o ~/tesla.token
✔ Username: [email protected]
✔ Password: ***
Passcode: 463932

This will output a token to the tesla.token file in your home directory.

Differences from jsgoecke/tesla

Streaming API

The implementation of the Streaming API is not working. The code was removed in this commit. If you are interested in getting this working again feel free to send a PR reverting these changes and providing a fix.

Credits

Thank you to Tim Dorr who did the heavy lifting to document the Tesla API and also created the model-s-api Ruby Gem.

Thank you to jsgoecke from whom this project is forked.

Copyright & License

Copyright (c) 2016-2021 Jason Goecke.

Copyright (c) 2021-present James Bogosian.

Released under the terms of the MIT license. See LICENSE for details.

tesla's People

Contributors

andig avatar barnybug avatar bogosj avatar codelingobot avatar dbrouwer-sbp avatar dependabot[bot] avatar dewski avatar evenmun avatar flarno11 avatar grimmimeloni avatar jnoxon avatar jsgoecke avatar machship-mm avatar mgb avatar michaelharo avatar think-free avatar uhthomas avatar

Watchers

 avatar

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.