categories: Get Coinmarketcap Categories

View source: R/categories.R

categoriesR Documentation

Get Coinmarketcap Categories

Description

Uses the categories API that returns the coin categories available in Coinmarketcap. For more details see the documentation.

Usage

categories(ids, id_type = "id", exportfile = NULL)

Arguments

ids

vector of ids

id_type

one of 'id', 'slug' or 'symbol' depending on which coin idendifier you want to filter your coins by.

exportfile

file path of where to save the data.

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 ID information for all cryptocurrencies available.


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