LSEG Data Library for Python

News headlines response

News headlines 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.
headlines List of news headlines objects.
df Response data provided as a Dataframe.
128 words (0:40 mins)