trending

package
v3.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrendingClient

type TrendingClient struct {
	*internal.Client
}

func NewClient

func NewClient(c *geckohttp.Client, url string) *TrendingClient

func (*TrendingClient) Trending

func (c *TrendingClient) Trending(ctx context.Context) (*types.Trending, error)

Trending allows you query trending search coins, nfts and categories on CoinGecko in the last 24 hours.

📘Notes

    The endpoint currently supports:
        Top 15 trending coins (sorted by the most popular user searches)
        Top 7 trending NFTs (sorted by the highest percentage change in floor prices)
        Top 6 trending categories (sorted by the most popular user searches)
    Cache / Update Frequency: every 10 minutes for all the API plans

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL