Skip to content

Instantly share code, notes, and snippets.

#!venv/bin/python
import json, hmac, hashlib, time, requests, base64, locale
from requests.auth import AuthBase
# Create custom authentication for Exchange
class CoinbaseExchangeAuth(AuthBase):
def __init__(self, api_key, secret_key, passphrase):
self.api_key = api_key
self.secret_key = secret_key
self.passphrase = passphrase

Keybase proof

I hereby claim:

  • I am pvacey on github.
  • I am milkst3ak (https://keybase.io/milkst3ak) on keybase.
  • I have a public key whose fingerprint is D0B2 D9F8 3C44 8111 8EA4 D94B 8EF9 00AC 03BF CD39

To claim this, I am signing this object: