This url is not working
https://api.openweathermap.org/data/2.5/onecall?lat={latitude}&lon={longitude}&appid={API key}
But, the one given below is fine
https://api.openweathermap.org/data/2.5/weather?lat={latitude}&lon={longitude}&appid={API key}
I tried both, the first url is giving error but it should not do so
New contributor
Dhruv Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.