supported_coins: CoinGecko coins

View source: R/supported_coins.R

supported_coinsR Documentation

CoinGecko coins

Description

Retrieves a list of coins currently supported by the CoinGecko API

Usage

supported_coins(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 tibble with three columns:

  • coin_id (character): coin IDs, ordered alphabetically;

  • symbol (character): coin symbols;

  • name (character): common names of the coins.

Examples


r <- supported_coins()
head(r, 10)


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