News API

फ्रीमियम
द्वारा Bonai | अपडेट किया गया il y a 4 jours | News, Media
लोकप्रियता

9.8 / 10

लेटेंसी

2,816ms

सेवा का स्तर

100%

Health Check

100%

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

API Questions

Rapid account: Ramanarule 5
ramanarule5
il y a 2 ans

If we were previously paying for the Google News API, do we have to create a new subscription for this API as well now? Is our previous API subscription cancelled?

How far back in time can you get articles and how does the sorting option work? If you go back 1 year, what’s the best option to sort by to get some older articles as well?

Rapid account: Matcher Labs
MatcherLabs Commented il y a 2 ans

Hello ramanarule5,

Since this API is different from the Google News API, you will need to subscribe again.

The historical search feature is currently only available for the Search Endpoint. There are two parameters that you will need to specify: from and to.
The following example will allow you to access news from the last 1 year: from=2021-10-10 and to=2022-10-10.

In order to sort by timestamp, specify sortBy=timestamp in the parameter list.

Thanks,
MatcherLabs

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

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