get_crypto_meta: Get static metdata

Description Usage Arguments Value Note References Examples

View source: R/currencies.R

Description

Get all static metdata available for one or more cryptocurrencies

Usage

1
get_crypto_meta(symbol = NULL, id = NULL, slug = NULL)

Arguments

symbol

One or more cryptocurrency symbols. Example: c("BTC","ETH").

id

Alternatively pass one or more CoinMarketCap cryptocurrency IDs. Example: c(1,2)

slug

Alternatively pass a vector of exchange slugs. Example: c("binance","cryptsy")

Value

A dataframe with metadata of Cryptocurrencies

Note

At least one "id" or "slug" or "symbol" is required for this request.

References

API documentation

Examples

1
2
3
4
5
6
7
## Not run: 
get_crypto_meta()
get_crypto_meta(symbol = c("BTC","ETH"))
get_crypto_meta(id = c(1,2,3,4))
get_crypto_meta(slug = c("bitcoin", "ethereum"))

## End(Not run)

trafficonese/coinmarketcap_v2 documentation built on Nov. 5, 2019, 10:57 a.m.