Ravi soni
asked on
Fetch next two days weather data.
How to get weather information of next two days. I created the script but i gives only current day information. Here, i attach the code.
api_address = "http://api.openweathermap.org/data/2.5/weather?appid=6784429f5eff661309aaa5280a143f97&q="
city = input("city name :")
url=api_address+city
j_data=requests.get(url).json()
ASKER
I used the openweathermap.org and unable to calculate the next two days information.
ASKER
I gives next 5 days information but i want only next 2 days information. if you could help, that would be appreciated.
ASKER
Is it possible to get the data of next two days instead of next 5days/3hours.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
https://darksky.net/dev/docs