package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Jan 7, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WithAPIKey(apikey string) func(*options)
WithAPIKey sets the API key for the client and updates the host to the pro API host if the host is the default.
func WithHost(host string) func(*options)
func New(opts ...func(*options)) Client
New creates a new coingecko Client with the given options.
Price returns the price of each coin in USD.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.