how to get todays news or data using API like News API [closed]

I am using JS for this project. I had given api key and url and then fetching news of India and US by using addeventlistener. Then I am using async function to get the query; I am using cloud cone (template) to represent the news. To reload the page we use onclick reload function.

enter image description here

Nothing just reloading to get new news by onclick reloading but by using this I do not get the today’s news or latest time news.