Documentation
¶
Index ¶
Constants ¶
View Source
const ( COINBASE_API_URL = "https://api.coinbase.com/v2/prices" TYPE = "spot" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
func Get ¶
The coin abbreviation is passed as parameter "coin". The coin abbreviation is a currency pair. For example: "SHIB-EUR" or "BTC-USD"
func GetWithDate ¶
The coin abbreviation is passed as parameter "coin". The coin abbreviation is a currency pair. For example: "SHIB-EUR" or "BTC-USD" The date must be in the format YYYY-MM-DD