Python class for interfacing with CoinHive's HTTP API.
from pyhive import PyHiveClient
secret_key = ""
client = PyHiveClient(secret_key)
client.get("/stats/site")
from pyhive import PyHiveClient
secret_key = ""
client = PyHiveClient(secret_key)
client.post("/links/create", {"url": "https://example.com", "hashes": 1024})