Connect to the Volvo API using Python.
The library works with Python 3.9 (v3.8 will likely also work) for the demo cars of the API using your own VCC keys. You also need to generate DEMO tokens for each API module.
On Linux:
python3 -m pip install --upgrade volvopy
Create a file in your home directory at ~/.config/volvopy/keys.ini
. This should contain the following information:
[API]
vcc_primary: <VCC API primary key>
vcc_secondary: <VCC API secondary key>
connected_token: <token to access the Connected Vehicle API>
extended_token: <token to access the Extended Vehicle API>
location_token: <token to access the Location API>
energy_token: <token to access the Energy API>
vin: <VIN number of your car>
This is demonstration software.
As of September 2024 volvopy
is distributed under AGPL-3.0-or-later.