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

Best Answer

  • 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