Skip to main content

Status

🚧 Coming soon Example using websockets:
import asyncio, json, websockets

async def main():
    async with websockets.connect("wss://v5-test.oddspapi.io") as ws:
        await ws.send(json.dumps({
            "type": "login",
            "apiKey": "YOUR_API_KEY"
        }))
        async for msg in ws:
            print(msg)

asyncio.run(main())