How resy/coinbase_python3 works
This is an unofficial Python Coinbase API client. A developer creates a client with API-key or OAuth credentials, then uses its methods for account, transaction, trading, pricing, currency, order, and payment-button operations. The client delegates HTTP requests to an RPC layer, which applies the selected authentication scheme and communicates with Coinbase; a separate OAuth helper obtains or refreshes tokens. The graph reflects the sampled implementation and README capabilities; the README excerpt is incomplete, so unsampled behavior is not inferred.
Main entry points: CoinbaseRPC.py RPC transport · __init__.py Coinbase client · CoinbaseAPIKeyAuthentication.py API-key auth · CoinbaseOAuthAuthentication.py OAuth auth
Components 10
Client API
- Coinbase client
coinbase/__init__.py
Authentication
- Auth interface
coinbase/CoinbaseAuthentication.py - API-key auth
coinbase/CoinbaseAPIKeyAuthentication.py - OAuth auth
coinbase/CoinbaseOAuthAuthentication.py - OAuth token flow
coinbase/CoinbaseOAuth.py
HTTP transport
- RPC transport
coinbase/CoinbaseRPC.py - API exceptions
coinbase/error.py
Coinbase services
- Coinbase API
- OAuth service
Other components
- Library user
Connections 12
- Library user → Coinbase client: creates and uses
README.md - Coinbase client → API-key auth: creates
coinbase/__init__.py - Coinbase client → OAuth auth: creates
coinbase/__init__.py - API-key auth → Auth interface: implements
coinbase/CoinbaseAPIKeyAuthentication.py - OAuth auth → Auth interface: implements
coinbase/CoinbaseOAuthAuthentication.py - Coinbase client → RPC transport: delegates requests
coinbase/__init__.py - RPC transport → API-key auth: reads credentials
coinbase/CoinbaseRPC.py - RPC transport → OAuth auth: reads credentials
coinbase/CoinbaseRPC.py - RPC transport → Coinbase API: sends HTTP requests
coinbase/CoinbaseRPC.py - RPC transport → API exceptions: raises
coinbase/CoinbaseRPC.py - OAuth token flow → OAuth service: requests tokens
coinbase/CoinbaseOAuth.py - OAuth token flow → API exceptions: raises
coinbase/CoinbaseOAuth.py