LSEG Data Library for Python

news.images.Definition object

Define the particular image for further retrieving.

Module

lseg.data.content.news.images

Syntax

news.images.Definition()

Parameters

Value Description Data type Optional Default value
image_id Image ID. str No -
width Image width. int Yes None
height Image height. int Yes None
extended_params Specifies the parameters that will be merged with the request. dict Yes None

Returned value

news.images.Definition object instance.

Usage

The following example demonstrates how to define image for further retrieving, with particular height and width:

from lseg.data.content import news


definition = news.images.Definition(image_id="2023-04-19T170847Z_1_DN1_RTRLXPP_2_LYNXPACKAGER__JPG", height=200, width=200)

None

67 words (0:21 mins)