question

Upvotes
Accepted
3 3 4 7

Consume data from TREP using Python.

As I am relatively new to TR products this question might have been answered in the past, so apologies for a possible repetition. I intent to develop an application with Python that would allow to request data from TREP. However I see that this can only be done by Robust Foundation API in C++. As my knowledge in C++ is very limited, I would like to know if there is a way to consume data from TREP via Python.

Thanks in advance,

Mehdi

pythonelektronrefinitiv-realtimetrepapi
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.

Hello @mehdi.el.hamzaoui

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,

AHS

Hello @mehdi.el.hamzaoui,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
41 0 0 1

Hello @Mehdi, please have a look into ELEKTRON APIs where you will find comprehensive information regarding the Websocket API. This will indeed require TREP >=3.2 !

Looking into the WebSocketAPI_TryitNow_Doc - Python example you will find some examples.

KR

Norbert

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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