ek.get_news_headlines doesn't get same headlines as in screen

Options

Hi, I'm trying to get news headlines for a specific topic on python using eikon library, however, the news I get through the API are not the same as in the sreen of the desktop version. Im using the following function: ek.get_news_headlines('Topic:CBDC',date_from = start_date, date_to = end_date) but I only get a small sample of the news I see on the screen on news 2.0 for that topic. Is there any way to solve this issue? Thanks a lot in advance

Best Answer

  • [Deleted User]
    [Deleted User] Newcomer
    Answer ✓

    Hi @FCM10

    I would suggest using the new library folowing this tutorial:
    https://developers.lseg.com/en/api-catalog/lseg-data-platform/lseg-data-library-for-python/tutorials#tutorial-6-news


    I'm afraid that if the new library does not resolve your issue, this forum might not be the best place to ask for help. Please note that this LSEG Developer Q&A Forum is for LSEG API technical questions only. For content questions such as yours, please use myaccount.lseg.com.

Answers

  • Hi @FCM10

    Thank you for your participation in the forum.

    Is the reply above satisfactory in answering your question?

    If yes please click 'Yes' next to the text ‘Did this answer the question?’, and then close the question. This will guide all community members who have a similar question.

    Otherwise please post again offering further insight into your question.

    Thanks,

    AHS

  • Hi @FCM10

    Please note that the answer above was marked as accepted. Please let us know if that's incorrect.