coinbase-advanced-py icon indicating copy to clipboard operation
coinbase-advanced-py copied to clipboard

Add API Sandbox support

Open NiklasRosenstein opened this issue 10 months ago • 2 comments

This PR adds support for the (Coinbase Advanced Trade API Sandbox](https://docs.cdp.coinbase.com/advanced-trade/docs/rest-api-sandbox) by

  1. Adding a sandbox parameter to the RESTBase constructor.
  2. Using that, if enabled, to let requests to unauthenticated to otherwise authenticated endpoints pass.
  3. Falling back to the https://api-sandbox.coinbase.com base URL if sandbox is set to True and no explicit base URL is specified.

NiklasRosenstein avatar Jan 31 '25 12:01 NiklasRosenstein

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

cb-heimdall avatar Jan 31 '25 12:01 cb-heimdall

@urischwartz-cb @davidMkCb maybe?

NiklasRosenstein avatar Feb 12 '25 15:02 NiklasRosenstein