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

Time for pycarwings3? #30

Open
BenWoodford opened this issue Jan 22, 2018 · 7 comments
Open

Time for pycarwings3? #30

BenWoodford opened this issue Jan 22, 2018 · 7 comments

Comments

@BenWoodford
Copy link

Seems like the best place to put this. They've got a totally new, RESTful API that supports multiple vehicles, so now we need a new library to handle it. I don't think revising the existing library is terribly sensible as basically everything has changed, so I'd like to start the ball rolling on a pycarwings3 for the new API before they deprecate the old one.

https://gist.github.com/BenWoodford/141ca350445e994e69a70aabfb6db942

@xibriz
Copy link
Contributor

xibriz commented Jan 22, 2018

I'm in.

@BenWoodford
Copy link
Author

I've jotted down a lot of the API calls, but as I'm in the UK I can't actually test the API at all because my account doesn't work.

We need a US-based Leaf owner to start throwing requests at it. I can provide the APK source so that anyone can see what payloads are required.

@xibriz
Copy link
Contributor

xibriz commented Jan 23, 2018

Does it not work on the European models?

@BenWoodford
Copy link
Author

BenWoodford commented Jan 23, 2018

We don't have endpoints for the EU yet, as the NA app is hardcoded for that region. The app isn't out for a while over here

@BenWoodford
Copy link
Author

EU app hasn't actually been upgraded to a new API, so I can't contribute to development unfortunately.

@jdhorne
Copy link
Owner

jdhorne commented Feb 2, 2018

Well that's fascinating. Seems like Nissan wants to replace their API every couple years. Can't say I wouldn't celebrate something more standardized.

Did you get this info by your own research, or by (gasp) official documentation?

@BenWoodford
Copy link
Author

Nah, I decompiled the app.

They're only changing it in the US though - we still have the old API. I'm just gonna build everything off the old one for now as hopefully they won't remove US support from the old one.

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