Description Usage Arguments Examples
Return a single news story corresponding to the identifier provided in story_id
1 | get_news_story(story_id, raw_output = FALSE, debug = FALSE)
|
story_id: |
The story id. The story id is a field you will find in every headline retrieved with the function get_news_headlines |
raw_output: |
boolean. Set this parameter to True to get the data in json format The default value is False |
debug: |
bool. When set to True, the json request and response are printed. |
1 2 3 4 5 6 7 | > import eikon as ek
> set_app_id('set your app id here')
> headlines = get_news_headlines('IBM')
> for (story_id in headlines$storyId)
{ story = get_news_story(story_id)
print (story)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.