...ters) when we get the data in JSON format using ek.get_news_headlines ()?
@xiaoxi.zhang.bc
The options to set raw_output=True parameter in Eikon Data APIs methods is provided for debugging and troubleshooting purposes. JSON schema in the results is subject to change, and you shouldn't rely on it in your applications.
Nevertheless, to answer your questions, these parameters provide some metadata to describe the news headline and/or news story associated with the headline. Specifically
displayDirection specifies whether the text is displayed left-to-right (as in European languages) or right-to-left (as in Arabic for example).
documentType describes the type of document behind the headline, e.g. 'Story' refers to a news story published as an HTML document, 'FileUrl' when the document behind the headline is for example a pdf doc, as would be the case with some press releases and other publications, and so on.
firstCreated provides the timestamp when the headline was first published. Originally published news story may be followed by numerous updates, as the story develops and unfolds. firstCreated provides the timestamp of the original publication.
isAlert. When there are market moving events, reporters rush to inform the market and may publish a headline without a story to save the time it takes to type and edit the story text. Such headlines are referred to as news alerts. In Eikon News Monitor app such headlines are displayed in red. The story follows after the news alert and is published as a regular news headline with the same headline text as in the alert headline. isAlert is the flag that tells whether the headline is a news alert.
language. This is self explanatory. The language parameter specifies the language, in which the headline is written.
reportCode. Some news headlines are grouped into so-called reports, and can be retrieved using the report code. E.g. news search expression ".N" provides reports on the US stock market. If the news headline belongs to any reports, the report codes the headline belongs to will be listed in reportCode parameter.
sourceName provides the name of the news agency, wire service or another source that produced the news headline.