-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Some idea, what was changed ? EU region. 9.10. 2023 12:00 exactly last connection with success.
`
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='usapi.cv.ford.com', port=443): Max retries exceeded with url: /api/users/vehicles/WF0KXX.../detail?lrdt=01-01-1970%2000:00:00 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1ca8f209a0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
import connectedcar
client = connectedcar.AuthClient(
'9fb503e0-715b-47e8-adfd-ad4b7770f73b',
None,
None) # Create client connection
access = client.get_user_access_token(
'user@domain.tld', 'password') # Fetch client access token
user = connectedcar.User(access['access_token']) # New User Object
vehicles = user.vehicles() # Fetch list of user vehicles
for userVehicle in vehicles: # For each user vehicle
vehicle = connectedcar.Vehicle(
userVehicle['VIN'], access['access_token']) # Create vehicle object
print(vehicle.details()) # Print vehicle details in json format
`