From f3244ccdc078af2f39dd63d2de8405b0da639fb7 Mon Sep 17 00:00:00 2001 From: Linus Dietz <45101649+Dielee@users.noreply.github.com> Date: Tue, 21 Nov 2023 09:42:56 +0100 Subject: [PATCH] Move vehicles endpoint to v2 --- src/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.py b/src/const.py index 9876676..1009076 100644 --- a/src/const.py +++ b/src/const.py @@ -3,7 +3,7 @@ from config import settings VERSION = "v1.8.16" OAUTH_URL = "https://volvoid.eu.volvocars.com/as/token.oauth2" -VEHICLES_URL = "https://api.volvocars.com/connected-vehicle/v1/vehicles" +VEHICLES_URL = "https://api.volvocars.com/connected-vehicle/v2/vehicles" VEHICLE_DETAILS_URL = "https://api.volvocars.com/connected-vehicle/v1/vehicles/{0}" WINDOWS_STATE_URL = "https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/windows" CLIMATE_START_URL = "https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/commands/climatization-start"