metadata: Get Coinmarketcap Coin Metadata.

View source: R/metadata.R

metadataR Documentation

Get Coinmarketcap Coin Metadata.

Description

Uses the info API that returns header information from Coinmarketcap. For more details see the documentation.

Usage

metadata(type = "id", identifiers, exportfile = NULL)

Arguments

type

Type of identifiers used to search the coins. Can be one of 'id', 'slug', 'symbol' or 'address'. Defaults to Coinmarketcap id.

identifiers

Vector containing the list of currencies you want to include.

exportfile

If output path is included, will save data to that file.

Details

You should use this function once at the beginning, save the file somewhere and then never re-run this function again, to save on API calls.

Value

A data frame containing the metadata information for all cryptocurrencies available.


pietroreggiani/coinmarketcapAPImanager documentation built on May 16, 2022, 2:36 a.m.