Hello, I used to run python scripts that calls open route services correctly
But now, I have a problem to run a simple script, seems to me that the api service is not available.
import openrouteservice
coords = [[8.34234,48.23424],[8.34423,48.26424]] ## I tried also with (
client = openrouteservice.Client(key=token2) # token2 is my personal API key
routes = client.directions(coords)
print(routes)
I 've got the following error:
SSLError: HTTPSConnectionPool(host=‘api.openrouteservice.org’, port=443): Max retries exceeded with url: /v2/directions/driving-car/json (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)’)))
Do I need to download a certificate? my token works properly, I tested it with my browser,
Do you know how to fix this problem?
Many thanks in advance,
Vivian.