MCPcopy Create free account
hub / github.com/danpaquin/coinbasepro-python / __init__

Method __init__

cbpro/cbpro_auth.py:10–13  ·  view source on GitHub ↗
(self, api_key, secret_key, passphrase)

Source from the content-addressed store, hash-verified

8class CBProAuth(AuthBase):
9 # Provided by CBPro: https://docs.pro.coinbase.com/#signing-a-message
10 def __init__(self, api_key, secret_key, passphrase):
11 self.api_key = api_key
12 self.secret_key = secret_key
13 self.passphrase = passphrase
14
15 def __call__(self, request):
16 timestamp = str(time.time())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected