Python SDK
Data Engine's live data feeds can be accessed through the Relayer using the official Python SDK.
Overview
The general process to set-up and other do's & don'ts while connecting to the relayer remain the same as discussed in the WebSockets section.
Quick Start
1. Install
First, install Relayer-Python-SDK
to start things up.
2. Set-Up
Now, set-up the SDK with the relevant imports and feedIDs.
3. Consume Events
After initializing the SDK with the relevant parameters. You can now start consuming the events through the relevant event handlers. The main function here is the asyncio runner that starts the Relayer Connection and then closes the connection after a deadline.
Last updated