K
K
Konstantin2021-02-11 20:48:52
API
Konstantin, 2021-02-11 20:48:52

How to get the weather?

I am making an application to show the weather (html, css, js). I'm using the openweathermap API. If I set the parameters to show for 24 hours, then it shows from the present time and for a period of 24 hours. those. if I send a request in the afternoon, then I don’t see the data for the morning. How to get data for today (from morning to evening)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex4answ, 2021-02-11
@alex4answ

did not work with openweathermap, but what prevents you from passing as a parameter not the current time, but "this morning"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question