Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.3 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.3 KB

License Static Badge Code style: black pre-commit.ci status

volvopy

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.

Installation

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>

Disclaimer & License

This is demonstration software. As of September 2024 volvopy is distributed under AGPL-3.0-or-later.