in reply to Re: Coinbase API
in thread Coinbase API
I was messing with this too. Couple questions/considerations.
/products has no signature/request requirements. It responds with full data successfully with a bare GET.
Their spec says two things about dates. All timestamp are returned in ISO8601 format in UTC with fields ending in postfix _at. Example: "created_at": "2015-07-01T00:55:47Z" but also The CB-ACCESS-TIMESTAMP header MUST be number of seconds since Unix Epoch. When I change your code to try /user instead of /products this is the response–
{"message":"invalid timestamp"}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Coinbase API
by hippo (Archbishop) on Jul 05, 2018 at 09:01 UTC | |
by Your Mother (Archbishop) on Jul 05, 2018 at 09:24 UTC | |
by ownlifeful (Beadle) on Jul 05, 2018 at 12:29 UTC |