question

Upvotes
Accepted
2 4 0 2

How do i connect to the WEB API?

Hi,

I have been given a link with access to github code and uses a class WebSocket which basically is an abstract class and the .sln file does not even compile because the example tries to initialise that class.

How do i proceed from there?

Thanks

elektronrefinitiv-realtimeelektron-sdkweb
icon clock
10 |1500

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

Upvotes
Accepted
20.3k 73 10 20

Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116

So, just to confirm - you have been through the Cloud section of the QuickStart on this website and you were successfully able to run the python example and get some data back? Is this correct?

If so, when you run the c# examples - what happens? Have you tried both examples?

You need to provide additional details in terms of output / errors etc. Obviously, don't include username / password etc in any attachments or posts.

What are command line parameters etc are you using to connect? e.g. I use the following:

>dotnet MarketPriceEdpGwServiceDiscoveryExample.dll --user <myusername> --password <mypassword> --auth_hostname api.edp.thomsonreuters.com

If the python equivalent of the above works from the AWS instance - but does not work from your local PC - then it is most likely a local environmental / network connectivity issue.

icon clock
10 |1500

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

Upvotes
20.3k 73 10 20

Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116

Can you provide the GitHub link you are referring to?

Does the README for the sample mention any additional dependencies / libraries that you need to obtain in order to compile?

icon clock
10 |1500

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

Upvotes
2 4 0 2

yes of course, i can provide the link:

https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/EDP/CSharp

Please let me know if need to update something

icon clock
10 |1500

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

Upvotes
20.3k 73 10 20

Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116

Please refer to the 'Compiling Source' section near the start of the page

As stated, you will need to install the Newtonsoft.Json package. If you are unable to download via the NuGet extension, you will have to manually download and install from the Newtonsoft website.


icon clock
10 |1500

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

Upvotes
2 4 0 2

I already dıd. Thank you.

What else ıs needed to connect on the aws cloud Real tıme Elektron?

I mean we have set up the aws servıce and we already connected vıa putty and run the python fıle on the example.

However ı cannot connect vıa my local host when ı use the csharp example.

Can you gıve advıce for that please?

Thanks

icon clock
10 |1500

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

Click below to post an Idea Post Idea