Skip to content
New issue

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

Support new Tesla-API authentication #3

Open
datMaffin opened this issue Feb 2, 2021 · 2 comments
Open

Support new Tesla-API authentication #3

datMaffin opened this issue Feb 2, 2021 · 2 comments

Comments

@datMaffin
Copy link

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):

The main job seems to be the parsing/scraping of the HTTP results.

@f1x1t1x1f
Copy link

Hi, is there going to be an update here?

@BAngel87
Copy link

See workaround Fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants