Client library that retrieves data from the Mercedes Developer API for your own car (BYOD - Bring your own car)
Python 3.7.3
pip install -r requirements.txt
Create a config file according to the example config file example.yaml:
---
## example credentials for mercedes developer api
scopes: ['mb:vehicle:mbdata:fuelstatus', 'offline_access']
# client_id and client_secret can be found in the 'CONSOLE' of the MB API
# https://developer.mercedes-benz.com/console
client_id: ''
client_secret: ''
# vehicle identification number (vin) of your own vehicle that is connected to your Mercedes me and Mercedes Developer API account
vin: W**********
# redirect address for oauth2 authorization workflow / needs to be correctly set in the MB DEv API Console
redirect_uri: 'http://localhost:8081'
python client_api.py
This project is a non-commercial hobby project and in no way officially affiliated with Daimler AG or Mercedes-Benz AG.