LSEG Data Library for Python

news.story.Definition object

This object defines the news story to retrieve.

Module

lseg.data.content.news.story

Syntax

news.story.Definition(story_id)

Parameters

Value Description Data type Optional Default value
story_id The ID of news story. str No -
extended_params Specifies the parameters that will be merged with the request. dict Yes None

Returned value

news.story.Definition object

Usage

The following example demonstrates how to create the news story definition object to get a story by ID:

from lseg.data.content import news

response = news.story.Definition("urn:newsml:reuters.com:20220608:nNRAkyxc9l:1")

None

61 words (0:19 mins)