-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Nearby Chargers #612
Comments
You can access the 10 closest with this new endpoint
Body:
Headers to send
|
I can't get the original endpoint for getting 4 nearby chargers to work. Does it work for you? |
I lost a lot of functionality today, I commented out a bunch of new code including the Supercharger locations (old style) and got it working. Is something going on?
… On Aug 29, 2022, at 3:41 PM, Ramin ***@***.***> wrote:
I can't get the original endpoint for getting 4 nearby chargers to work. Does it work for you?
—
Reply to this email directly, view it on GitHub <#612 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFQ7F55T64L5XFR7ABVUZHLV3U4BPANCNFSM55XQ7OVQ>.
You are receiving this because you authored the thread.
|
@idriskhenchil did you find out how to access the pricing info? The endpoint you listed does not contain it. There is also a |
@Niek I've only been able to view select charging station prices (all but one in Europe) with the following endpoint. There is one private station in California I have been able to view pricing for, which is also visible via the app in the "Charge non-Tesla" map.
With the following body (Also include your authorization header)
Reponse
When making the request with a site-id for a supercharger outside of those in Europe it will return an error. |
Thanks @idriskhenchil - excellent work! Using this it's rather easy to show the pricing info of the 10 closest superchargers in Europe. Unfortunately the site IDs do not correspond to those in the cua-api endpoints (used by the supercharger map), so if one wants to gather a list of pricing of all superchargers, I guess the sites have to be manually scraped at most 10 per batch. |
@Niek Yeah that's how it appears to be, but at the moment I've only been able to view pricing for less than 50 chargers. I would be interested to see if someone could figure out why you're able to get pricing for some, and not others. Particularly in the U.S. |
FYI I added a repo that updates daily all known superchargers with pricing info in Europe: https://github.com/Niek/tesla-superchargers I would love to map more but the 10 chargers per API call limit is killing my API quota. |
Any updated solution for this? I found the new opened charge sites also not appear on the API. |
The current documentation on how the API works still works in that it returns the 4 Destination and 4 Superchargers, but the current Tesla app now has a location entry that shows your car on a map and if you scroll down it shows the 10 closest Superchargers. Has anyone figured out this change? The old way of doing it seems to return rather random Superchargers, not the 4 closest, perhaps the new way is better
The text was updated successfully, but these errors were encountered: