supported_currencies: CoinGecko currencies

View source: R/supported_currencies.R

supported_currenciesR Documentation

CoinGecko currencies

Description

Retrieves a list of base currencies currently supported by the CoinGecko API

Usage

supported_currencies(max_attempts = 3)

Arguments

max_attempts

(double, positive): specifies the maximum number of attempts to call the CoinGecko API (e.g., if the first call fails for some reason). Additional attempts are implemented with an exponential backoff. Defaults to 3.

Details

This function is based on the public CoinGecko API, which has a rate limit of 10-30 calls per minute. Please keep this limit in mind when developing your applications.

Value

A character vector with abbreviated names of the currencies.

Examples

FALSE
r <- supported_currencies()
print(r)


next-game-solutions/geckor documentation built on April 27, 2023, 10:59 a.m.