I get this error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.openweathermap.org', port=443): Max retries exceeded with url: /data/2.5/forecast/daily?APPID=604bae0c014107837011418f47925ad7&q=Eldoret&cnt=3 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000000B89BEA4B38>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
when I try to access the weather details of a city e.g London, Nairobi etc but I have created an account with openWeathermap. I am using "http://api//openweathermap.org//data//2.5/forecast//daily?APPID=my key.........."
What's the meaning of the error and what's the solution?
Please help me. Thanks in advance.
Daily forecast available only on paid plans. You should use a 3-hourly forecast: https://api.openweathermap.org/data//2.5/forecast?q=Paris,fr&APPID=YOURKEY
Also, you have used wrong syntax. Please find the right example above.