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

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi @0c62b574-a087-4b69-8ba8-1f3ad682f116_deprecated_e08fae0f-62dd-4596-9c12-10a790cb6ed2

    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.

Answers