C# SDK - Support for AWS downloads

Hello,

we are using the C# SDK and we were wondering if there are any plans to introduce the ability to get TRTH results over AWS as announced in the TRTH release notes 11.1.5.5

Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • @Giovanni.Condello, it is possible to do that using the C# SDK.

    In the code you must set the x-direct-download header, it would look somewhat like this:

    var context = new StandardExtractionsContext(new
    Uri("https://hosted.datascopeapi.reuters.com/RestApi/v1/"), "<your user id>", "<your password>");
    context.DefaultRequestHeaders.Add("x-direct-download", "true");
    var stream = context.UserPackageDeliveryOperations.GetReadStream("<packageDeliveryId>");
    // Read Stream here…

    I have not yet tried this, but will attempt to make a sample in a near future, which I'll make available for download when available.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.