mjarkk / vanmoof-web-controller

Change the speed limit of a VanMoof S3 or X3 via a website
https://mooovy.app
GNU Lesser General Public License v2.1
79 stars 14 forks source link

Where does the API_KEY come from? #44

Closed Marius-Elting closed 1 year ago

Marius-Elting commented 1 year ago

https://github.com/mjarkk/vanmoof-web-controller/blob/7ea8e8b29e7a5e89d382d79a1530796d4250eb76/lib/api.ts#L4

there is an API_KEY, wich is required to login / use the Vanmoof API.

where can I get my own or is this an universal one?

  1. Is there any Documentation or similar for the Vanmoof API, I can't find one on the Internet.
sanderDijkxhoorn commented 1 year ago

https://github.com/mjarkk/vanmoof-web-controller/blob/7ea8e8b29e7a5e89d382d79a1530796d4250eb76/lib/api.ts#L4

there is an API_KEY, wich is required to login / use the Vanmoof API.

where can I get my own or is this an universal one?

  1. Is there any Documentation or similar for the Vanmoof API, I can't find one on the Internet.

This is baked into the VanMoof app. (the one your mentioned is universal, a public key)

There is no documentation since this a private API.

If you need something I could take a look at it and explain it to you.

Feel free to join our Discord server if you want to discuss things more privately.

mjarkk commented 1 year ago

To add to that it's also used by all other vanmoof open source project and vm doesn't seem to have a problem with it thus far.