jonahwh / tesla-api-client Goto Github PK
View Code? Open in Web Editor NEWTesla API docs and Java client
Tesla API docs and Java client
I see this library was updated as recently as 4 days ago-- it looks sweet-- is there an OS Android Tesla app in progress somewhere that uses tesla-api-client??
There have been a few attempts to redesign the app, just wondering if anyone started actually doing it.
I should add there are a lot of use cases for a simple alternative app, one being the ability to use it on Chromebooks.
Thanks for your work on this.
I just tried to use the most recent version with NSwag Studio and it errors out:
Newtonsoft.Json.JsonSerializationException: Unexpected initial token 'String' when populating object. Expected JSON object or array. Path 'definitions.VehicleState.properties.software_update.properties.version', line 1, position 45567.
Error seems to be here:
Line 1928 in 6c54796
When I change this to the following it works:
version:
type: string
Not submitting this as a PR as my knowledge of swagger is too limited to determine if this is an appropriate fix
I am unable to use version 1.12.0 of this api through Gradle as it says depedency not found. If I change it to 1.11.0, I have no issues and it downloads successfully. Haven't tried with maven as well
Just a question; have you ever gotten the MFA version working? I see you use the Apache library, but AFAIK it uses the callback (which can't be set for Tesla). I'm struggling to get it running in my Java API implementation.
I was able to add this api to my java project however, i'm unable to figure out how to authenticate a Tesla user account with an email and password to be able to get a vehicle and start doing some commands on the vehicle. Most Tesla apis have a getting started or usage section and this one does not. Can someone provide me with example code on how to use this api?
Hallo, the documentation is a little bit outdated, because the docs/AuthenticationApi.md did not work with the last version anymore.
CreateAccessTokenResponse result = apiInstance.createOauthToken(body);
can not be casted.
Looks like the authentication scheme has changed completely? I've tried to adapt the snippet provided in the readme but the authorization request fails with a 400. According to this website, what is currently implemented is only step 4 albeit with a wrong set of request parameters. :/
I've tried chaning the grant_type
to authorization_code
, but that then leads to a 401. That at least indicates an authorization attempt but generally, this feels not working at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.