Skip to content

Instantly share code, notes, and snippets.

@mattronix
Last active December 27, 2016 13:52
Show Gist options
  • Save mattronix/b253fd15f3e72cce645521d8770ac696 to your computer and use it in GitHub Desktop.
Save mattronix/b253fd15f3e72cce645521d8770ac696 to your computer and use it in GitHub Desktop.
BMW API Mapping
To use the BMW API all you need is your bearear auth token that you can get from using the remote services interface and intercepting your own traffic:
replace <VINNUMBER> with actual vin number
Flash Headlights:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/remoteservices/v1/<VINNUMBER>/RLF
Type: GET
Sound Horn:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/remoteservices/v1/<VINNUMBER>/RHB
Type: GET
Lock Door:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/remoteservices/v1/<VINNUMBER>/RDL
Type: GET
Unlock Door:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/remoteservices/v1/<VINNUMBER>/RDU
Type: GET
Sending Service Message to car:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/myinfo/v1
Type: POST
Body:
{
"vins": ["<VINNUMBER>"],
"message": "CONTENT",
"subject": "SUBJECT"
}
Get status of command execution:
Endpoint: https://www.bmw-connecteddrive.nl/api/vehicle/myinfo/v1
Type: GET
Add News Feed:
Endpoint: https://www.bmw-connecteddrive.nl/api/me/service/feed/v1
Type POST
Body:
{
"url": "http://www.theregister.co.uk/data_centre/headlines.atom",
"title": "The Register Data Center"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment