trending_coins: Trending coins

Description Usage Arguments Details Value Examples

View source: R/trending_coins.R

Description

Retrieves top-7 coins on CoinGecko according to their search popularity

Usage

1
trending_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

Popularity of a coin is determined from search patterns at the CoinGecko website over the last 24 hours.

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

Value

A tibble with the following columns:

Examples

1
2

geckor documentation built on Nov. 1, 2021, 5:07 p.m.