Get the data (if you are using JavaScript, it would be fetch, other languages are similar to this)
const data = data.articles.slice(0, 1); (get the first element of the articles attribute in the result)
Sample code:
const response = await fetch(URL); const data = await response.json(); return data.articles.slice(0, 1);
It would be nice if it helps!
Missing Endpoints for Single News Item, We need to fetch a single item instead of many