LSEG Data Library for Python

get_data_async

Sends an asynchronous request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data specified in the news.top_news.Definition object.

Module

data.content.news.top_news

Syntax

get_data_async(sesison, on_response)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None
on_response User-defined callback function to process the final response containing all requested headlines. Callable Yes None

Returned value

Top news response

Usage

Similar to get_data()

None

71 words (0:22 mins)