coinmarketcap_category {cryptotrackr}R Documentation

coinmarketcap_category

Description

coinmarketcap_category

Usage

coinmarketcap_category(
  api_key,
  id,
  start = "1",
  limit = NULL,
  convert = NULL,
  convert_id = NULL,
  timeout_seconds = 60
)

Arguments

api_key

your CoinMarketCap API key

id

the category id you wish to query.

start

you can use this parameter to offset your first result. The default value is "1".

limit

an optional string value between 1 and 5000 which tells CoinMarketCap how many results to return. The default value is NULL.

convert

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols.

convert_id

Optionally calculate market quotes by CoinMarketCap id instead of symbol.

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a list with information about the specified category.

Examples

## Not run: 
api_key <- "..."
id <- "6363a6c9cd197958bb543bf0"
category <- coinmarketcap_category(api_key, id)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]