We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was asked (by family) to check whether I could update this program to use the new authentication API as documented here:
However, I currently do not have the required time (I, for example, do not have experience with Perl nor a Tesla account to test with).
My findings are below:
The tesla-api documentation does look like it is sufficiently complete. In addition, the repo provides an implementation of the API using Ruby:
A diff with the before/after of the authentication implementation can be seen here: https://github.com/timdorr/tesla-api/compare/75e79d34fdbfbfd4ef5978ae45e6bbef96ac4ed5...master?diff=split# The relevant file is lib/tesla_api/client.rb.
lib/tesla_api/client.rb
Observed changes (and rough commentary based on a first glance):
refresh_access_token
exchange_sso_access_token
login!
The main job seems to be the parsing/scraping of the HTTP results.
The text was updated successfully, but these errors were encountered:
Hi, is there going to be an update here?
Sorry, something went wrong.
See workaround Fork
No branches or pull requests
I was asked (by family) to check whether I could update this program to use the new authentication API as documented here:
However, I currently do not have the required time (I, for example, do not have experience with Perl nor a Tesla account to test with).
My findings are below:
The tesla-api documentation does look like it is sufficiently complete.
In addition, the repo provides an implementation of the API using Ruby:
A diff with the before/after of the authentication implementation can be seen here: https://github.com/timdorr/tesla-api/compare/75e79d34fdbfbfd4ef5978ae45e6bbef96ac4ed5...master?diff=split#
The relevant file is
lib/tesla_api/client.rb
.Observed changes (and rough commentary based on a first glance):
refresh_access_token
:exchange_sso_access_token
at the endlogin!
exchange_sso_access_token
at the endexchange_sso_access_token
The main job seems to be the parsing/scraping of the HTTP results.
The text was updated successfully, but these errors were encountered: