Skip to content

Instantly share code, notes, and snippets.

View flavioferretti's full-sized avatar

flavioferretti

View GitHub Profile
@alferz
alferz / gist:4ff1433ae43d15b2b4a26c51a3ec569c
Created February 5, 2018 23:08
Python Coinbase API with API-Key Auth Example (SHA256 HMAC Signature)
def getCoinbaseData(path):
import urllib2, json
import hmac
import hashlib
import base64
import time
apiKey = '<YOUR API KEY>'
apiSecret = '<YOUR API SECRET>'