How to translate news monitor query to Python API headlines query? The query is ("Hospital" AND (...

... "build" OR "reopen" OR "construct" OR "expansion" OR "upgrade" OR "develop" OR "repurpose" OR "modern" ))

image

Best Answer

  • Hi @alankar.gupta

    With Eikon Data API version 1.1.8

    I just tested this code and this should be the code you are looking for:

    syntax = "Hospital AND ( build OR reopen OR construct OR expansion OR upgrade OR develop OR repurpose OR modern )"
    df = ek.get_news_headlines(syntax)

    df

    image

Answers