For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 1 2 2

Getting more than 100 news

Dear All,

Is it possibel that I can get more than 100 news. I need news for 1 complete year. secondly, how can I built a loop to get 100 news each time and save and then for next date and so on by writing or appending the file. Thanks

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonnews
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.6k 26 7 22

Since the python api handles 100 articles or less per one request, you will need to chain several requests in a loop adding a pause, as you have correctly mentioned.

For loops in python check out this article from learnpython.org.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea