CoinGeckoApi class

The main class for making requests to the CoinGecko API.

Constructors

CoinGeckoApi({Duration connectTimeout = const Duration(seconds: 30), Duration receiveTimeout = const Duration(seconds: 10), bool? rateLimitManagement = true, bool enableLogging = true})
Used to initialize the http client

Properties

assetPlatforms AssetPlatformsSection
The section that brings together the requests that are related to asset platforms
no setter
categories CategoriesSection
The section that brings together the requests that are related to categories
no setter
coins CoinsSection
The section that brings together the requests that are related to coins
no setter
companies CompaniesSection
The section that brings together the requests that are related to companies
no setter
contract ContractSection
The section that brings together the requests that are related to contract tokens
no setter
derivatives DerivativesSection
The section that brings together the requests that are related to derivatives
no setter
enableLogging bool
Sets whether logging should be enabled.
getter/setter pair
exchangeRates ExchangeRatesSection
The section that brings together the requests that are related to exchange rates
no setter
exchanges ExchangesSection
The section that brings together the requests that are related to exchanges
no setter
global GlobalSection
The section that brings together the requests that are related to global information
no setter
hashCode int
The hash code for this object.
no setterinherited
indexes IndexesSection
The section that brings together the requests that are related to indexes
no setter
ping PingSection
The section for ping requests
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
The section that brings together the requests that are related to search
no setter
simple SimpleSection
The section that brings together the requests that are related to simple coins / currencies
no setter
The section that brings together the requests that are related to trending stats
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited