LSEG Data Library for Python

News images response

News images response. Returns as the result of successful response from Delivery Platform (formerly Refinitiv Data Platform).

Parameters

Name Description
is_success Boolean that indicates was request successful or not.
data See Data container below.
errors The list of errors, if they occur.
http_response HTTP response object, containing HTTP response data.
request_count Number of connection attempts, both successful and failed.
request_message HTTP request data, including headers, HTTP method, content etc.
closure Closure parameters that will be returned with the response.
http_status Dictionary, contains http status code and http reason.
http_headers HTTP response headers.

Data container

Data container contains raw json response (if applicable), dataframe and news headlines objects.

Name Description
raw Response json data from platform.
image Image object().

Image object

Name Description
body_type Image type (jpg, png, etc)
available_rsf
filename Image file name.
first_created Image creation date.
provider Image storage provider.
size Image size.
source Image source (publisher).
version_created Image last edition date.
153 words (0:48 mins)