News API how to set search mode

Best Answer

  • @yuyang I think your question refers to generating the query for the get_news_headlines API call. If so - you can easily generate a query using the News Monitor App in Eikon (type: NEWS). Once you have built the query in the search bar - double click in the search bar to generate the query text to copy and paste into the API call. I have an article that shows you how to do this here