Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 3

What will be the syntax if I use eikon which give similar results as this query rd.news.get_headlines(query = general_text, count=20)

Hi I just want to know what will be the alternatve syntax if someone is using eikon api , How can i get the same results as i am getting with the query rd.news.get_headlines(query = general_text, count=20)

eikoneikon-data-apiworkspace#technologyapinews
icon clock
10 |1500

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

Hello @rishav.jindal

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Hi @rishav.jindal , Please note that the answer below was marked as correct. Please let us know if that's not the case.

1 Answer

· Write an Answer
Upvotes
Accepted
5.8k 21 2 6

Hi @rishav.jindal, I believe the answer you are after can be found on the Developer Portal and GitHub. You can use the RD Library to use the Eikon Data API if you want, as per the Github page:



import refinitiv.data.eikon as ek
from IPython.display import HTML

ek.set_app_key('YOUR APP KEY GOES HERE!')
ek.get_news_headlines(query = 'AAPL.O', count=10)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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