TRNA Python examples

I am new to these systems. Can someone please provide a Python example to get some TRNA data ?

Best Answer

  • There are language specific APIs to retrieve real-time data from the server such as Elektron-SDK (C/C++, Java), RFA (C++, Java, .NET), SFC (C++, Java, COM).

    Unlike WebSocket API, it uses WebSocket and JSON as underlying technologies. Therefore, you can implement other client-technology standards (e.g. Python, R) to realize this communication approach.

    Note: TREP 3.2 is required for WebSocket API.

    Currently, there is no TRNA subscription example in Python available. However, you can refer to other generic Python examples in a Download section of WebSocket API to get an idea of data subscription. Then, you need to modify the code to perform a special TRNA task such as unzip and re-assemble payload content. Please check MRN DATA MODELS AND ELEKTRON IMPLEMENTATION GUIDE for more details.

    Hope this helps.