Skip to content

Instantly share code, notes, and snippets.

@sawara7
sawara7 / data_receiver.py
Last active May 1, 2019 08:44
bitFlyerのRealtime API(JSON-RPC 2.0 over WebSocket)をaiohttpのWebsokectで利用する
# -*- coding: utf-8 -*-
"""
+++ bitFlyerのRealtime API(JSON-RPC 2.0 over WebSocket)をaiohttpのWebsokectを用いて取得する
"""
import aiohttp
import asyncio
import json
class bfDataReceiver(object):