question

Upvotes
Accepted
1 0 0 0

download multiple bulk ESG files with python refinitiv.dataplatform

I can only retrieve download links from python refinitiv.dataplatform package, just like those in web based api playground, with following code, where fileid is a single file id

endpoint_url = 'file-store/v1/files/'+fileid+'/stream'

endpoint = rdp.Endpoint(session, endpoint_url)

result = endpoint.send_request(query_parameters = {"doNotRedirect": 'true'})


is there a way (or alternative set of query_parameters) that I can download file (either csv or json) directly through rdp? I didn't find more detailed instruction of using this package.

pythonesgbulk-downloadrefinitiv-dataplatform-libraries
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
28.9k 32 11 15

Hello @11821003 ,

See https://github.com/Refinitiv-API-Samples/Example.DataLibrary.Python/tree/main/Examples/3-Delivery/3.03-Bulk.

ESG Bulk is a Client File Store service. So either Bulk-Client File Store or Bulk- PackageManager examples can be helpful.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.