coinmarketcap_categories {cryptotrackr}R Documentation

coinmarketcap_categories

Description

coinmarketcap_categories

Usage

coinmarketcap_categories(
  api_key,
  start = "1",
  limit = NULL,
  id = NULL,
  slug = NULL,
  symbol = NULL,
  timeout_seconds = 60
)

Arguments

api_key

your CoinMarketCap API key

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.

id

filter categories by one or more asset ids. The default value is NULL. Multiple values must be comma-separated.

slug

filter categories by one or more asset slugs. The default value is NULL. Multiple values must be comma-separated.

symbol

filter categories by one or more asset symbols. The default value is NULL. Multiple values must be comma-separated.

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a datafrane with information about CoinMarketCap asset categories.

Examples

## Not run: 
api_key <- "..."
categories <- coinmarketcap_categories(api_key)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]