I managed to retrieve topic codes (e.g. "A:2", "G:1F"). How to convert them to their corresponding topic names in the Workspace app (e.g. TOPNWS, GFIN)?
@Rokas
Thank you for reaching out to us.
Please refer to the Exploring News Metadata - with Refinitiv Data Platform and Python article.
I can use the LSEG Data Library for Python to access the /data/news/v1/metadata/ endpoint through the Workspace desktop session by using the endpoint interface. The code looks like this:
news_meta_url = '/data/news/v1/metadata/A:2' request_definition = ld.delivery.endpoint_request.Definition( url = news_meta_url, method = ld.delivery.endpoint_request.RequestMethod.GET ) response = request_definition.get_data() response.data.raw
The endpoint example is available on GitHub.