newsAPI

फ्रीमियम
द्वारा Strata Consulting LLC | अपडेट किया गया 2 mesi fa | News, Media
लोकप्रियता

9.7 / 10

लेटेंसी

2,286ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Missing information about pagination, offset or orderBy/sort

Rapid account: Adam 1 Ai T 2 Js Qm
adam-1aiT2JsQm
un mese fa

Hi

I am missing information about how to fetch all the data if I get a result of more then 100 articles.

Any of the following options would be valid:

  • Pagination: Being able to go to next page.
  • Offset: Skipping the first x results
  • OrderBy/Sort: If I could sort by date I could just featch more often and get the latest new news.

Thank you.
Regards Adam

Rapid account: Strataconsultingllc
strataconsultingllc Commented 21 giorni fa

Hi Adam,

Thanks for your post! Unfortunately, this API does not offer the ability to paginate, offset, or sort results. In general, the API will return as many results as possible with the most recent results at the time you submit your request. However, if you are looking to narrow your search even more, you can use the search filters to only retrieve the most recent news articles beyond a specified date. To do this, you can include a string like this after:2023-12-31 in the query parameter of the /search endpoint.

I hope this helps!

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें