Skip to content

clients.coinmarketcap #

export CMCKEY=92be9b29-7f6c-48e4-9ef2-d6aa0550f620

fn new #

fn new(args CMCNewArgs) !CoinMarketConnection

fn (CoinMarketConnection) token_price_usd #

fn (mut h CoinMarketConnection) token_price_usd() !f64

struct CMCNewArgs #

struct CMCNewArgs {
pub mut:
	secret        string
	cache_timeout int
}