Before using the Zerion Websocket API, you need to install relevant dependencies.
{% hint style="warning" %} Please make sure to use Socket.io v2 client API. {% endhint %}
{% tabs %} {% tab title="JavaScript" %}
npm i [email protected]
{% endtab %}
{% tab title="Python" %}
pip3 install python-socketio==4.6.1, aiohttp, asyncio
{% endtab %} {% endtabs %}