Refinitiv Data Library for Python

get_data_async

This method sends an asynchronous request to the Refinitiv Data Platform to retrieve the data specified in the news.headlines.Definition object.

Module

refinitiv.data.content.news.headlines

Syntax

get_data_async(sesson, on_response, on_page_response, closure)

Parameters

Value Description Data type Optional Default value
session Session object. If it's not passed 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
on_page_response User-defined callback function to process the intermediate responses for long lists of headlines returned page by page. Callable Yes None
closure Closure parameters that will be returned with the response. Any Yes None

Return value

news.headlines.Response

Usage

Similar to get_data()

None