Package com.litesoftwares.coingecko.impl
Class CoinGeckoApiClientImpl
java.lang.Object
com.litesoftwares.coingecko.impl.CoinGeckoApiClientImpl
- All Implemented Interfaces:
CoinGeckoApiClient
-
Constructor Summary
ConstructorsConstructorDescriptionCoinGeckoApiClientImpl(Long connectionTimeoutSeconds, Long readTimeoutSeconds, Long writeTimeoutSeconds) -
Method Summary
Modifier and TypeMethodDescriptiongetCoinById(String id) getCoinById(String id, boolean localization, boolean tickers, boolean marketData, boolean communityData, boolean developerData, boolean sparkline) getCoinHistoryById(String id, String date) getCoinHistoryById(String id, String date, boolean localization) getCoinInfoByContractAddress(String id, String contractAddress) getCoinMarketChartById(String id, String vsCurrency, Integer days) getCoinMarketChartById(String id, String vsCurrency, Integer days, String interval) getCoinMarketChartRangeById(String id, String vsCurrency, String from, String to) getCoinMarkets(String vsCurrency) getCoinMarkets(String vsCurrency, String ids, String order, Integer perPage, Integer page, boolean sparkline, String priceChangePercentage) getCoinOHLC(String id, String vsCurrency, Integer days) getCoinStatusUpdateById(String id, Integer perPage, Integer page) getCoinTickerById(String id, String exchangeIds, Integer page, String order) getEvents(String countryCode, String type, Integer page, boolean upcomingEventsOnly, String fromDate, String toDate) getExchanges(int perPage, int page) getExchangesStatusUpdatesById(String id, Integer perPage, Integer page) getExchangesTickersById(String id, String coinIds, Integer page, String order) getExchangesVolumeChart(String id, Integer days) getPrice(String ids, String vsCurrencies, boolean includeMarketCap, boolean include24hrVol, boolean include24hrChange, boolean includeLastUpdatedAt) getSearchResult(String query) getStatusUpdates(String category, String projectType, Integer perPage, Integer page) getTokenPrice(String id, String contractAddress, String vsCurrencies) getTokenPrice(String id, String contractAddress, String vsCurrencies, boolean includeMarketCap, boolean include24hrVol, boolean include24hrChange, boolean includeLastUpdatedAt) ping()voidshutdown()
-
Constructor Details
-
CoinGeckoApiClientImpl
public CoinGeckoApiClientImpl() -
CoinGeckoApiClientImpl
-
-
Method Details
-
ping
- Specified by:
pingin interfaceCoinGeckoApiClient
-
getPrice
- Specified by:
getPricein interfaceCoinGeckoApiClient
-
getPrice
public Map<String,Map<String, getPriceDouble>> (String ids, String vsCurrencies, boolean includeMarketCap, boolean include24hrVol, boolean include24hrChange, boolean includeLastUpdatedAt) - Specified by:
getPricein interfaceCoinGeckoApiClient
-
getTokenPrice
public Map<String,Map<String, getTokenPriceDouble>> (String id, String contractAddress, String vsCurrencies) - Specified by:
getTokenPricein interfaceCoinGeckoApiClient
-
getTokenPrice
public Map<String,Map<String, getTokenPriceDouble>> (String id, String contractAddress, String vsCurrencies, boolean includeMarketCap, boolean include24hrVol, boolean include24hrChange, boolean includeLastUpdatedAt) - Specified by:
getTokenPricein interfaceCoinGeckoApiClient
-
getSupportedVsCurrencies
- Specified by:
getSupportedVsCurrenciesin interfaceCoinGeckoApiClient
-
getCoinList
- Specified by:
getCoinListin interfaceCoinGeckoApiClient
-
getCoinMarkets
- Specified by:
getCoinMarketsin interfaceCoinGeckoApiClient
-
getCoinMarkets
public List<CoinMarkets> getCoinMarkets(String vsCurrency, String ids, String order, Integer perPage, Integer page, boolean sparkline, String priceChangePercentage) - Specified by:
getCoinMarketsin interfaceCoinGeckoApiClient
-
getCoinById
- Specified by:
getCoinByIdin interfaceCoinGeckoApiClient
-
getCoinById
public CoinFullData getCoinById(String id, boolean localization, boolean tickers, boolean marketData, boolean communityData, boolean developerData, boolean sparkline) - Specified by:
getCoinByIdin interfaceCoinGeckoApiClient
-
getCoinTickerById
- Specified by:
getCoinTickerByIdin interfaceCoinGeckoApiClient
-
getCoinTickerById
- Specified by:
getCoinTickerByIdin interfaceCoinGeckoApiClient
-
getCoinHistoryById
- Specified by:
getCoinHistoryByIdin interfaceCoinGeckoApiClient
-
getCoinHistoryById
- Specified by:
getCoinHistoryByIdin interfaceCoinGeckoApiClient
-
getCoinMarketChartById
- Specified by:
getCoinMarketChartByIdin interfaceCoinGeckoApiClient
-
getCoinMarketChartById
public MarketChart getCoinMarketChartById(String id, String vsCurrency, Integer days, String interval) - Specified by:
getCoinMarketChartByIdin interfaceCoinGeckoApiClient
-
getCoinMarketChartRangeById
public MarketChart getCoinMarketChartRangeById(String id, String vsCurrency, String from, String to) - Specified by:
getCoinMarketChartRangeByIdin interfaceCoinGeckoApiClient
-
getCoinOHLC
- Specified by:
getCoinOHLCin interfaceCoinGeckoApiClient
-
getCoinStatusUpdateById
- Specified by:
getCoinStatusUpdateByIdin interfaceCoinGeckoApiClient
-
getCoinStatusUpdateById
- Specified by:
getCoinStatusUpdateByIdin interfaceCoinGeckoApiClient
-
getCoinInfoByContractAddress
- Specified by:
getCoinInfoByContractAddressin interfaceCoinGeckoApiClient
-
getAssetPlatforms
- Specified by:
getAssetPlatformsin interfaceCoinGeckoApiClient
-
getExchanges
- Specified by:
getExchangesin interfaceCoinGeckoApiClient
-
getExchanges
- Specified by:
getExchangesin interfaceCoinGeckoApiClient
-
getExchangesList
- Specified by:
getExchangesListin interfaceCoinGeckoApiClient
-
getExchangesById
- Specified by:
getExchangesByIdin interfaceCoinGeckoApiClient
-
getExchangesTickersById
- Specified by:
getExchangesTickersByIdin interfaceCoinGeckoApiClient
-
getExchangesTickersById
public ExchangesTickersById getExchangesTickersById(String id, String coinIds, Integer page, String order) - Specified by:
getExchangesTickersByIdin interfaceCoinGeckoApiClient
-
getExchangesStatusUpdatesById
- Specified by:
getExchangesStatusUpdatesByIdin interfaceCoinGeckoApiClient
-
getExchangesStatusUpdatesById
- Specified by:
getExchangesStatusUpdatesByIdin interfaceCoinGeckoApiClient
-
getExchangesVolumeChart
- Specified by:
getExchangesVolumeChartin interfaceCoinGeckoApiClient
-
getStatusUpdates
- Specified by:
getStatusUpdatesin interfaceCoinGeckoApiClient
-
getStatusUpdates
public StatusUpdates getStatusUpdates(String category, String projectType, Integer perPage, Integer page) - Specified by:
getStatusUpdatesin interfaceCoinGeckoApiClient
-
getEvents
- Specified by:
getEventsin interfaceCoinGeckoApiClient
-
getEvents
public Events getEvents(String countryCode, String type, Integer page, boolean upcomingEventsOnly, String fromDate, String toDate) - Specified by:
getEventsin interfaceCoinGeckoApiClient
-
getEventsCountries
- Specified by:
getEventsCountriesin interfaceCoinGeckoApiClient
-
getEventsTypes
- Specified by:
getEventsTypesin interfaceCoinGeckoApiClient
-
getExchangeRates
- Specified by:
getExchangeRatesin interfaceCoinGeckoApiClient
-
getTrending
- Specified by:
getTrendingin interfaceCoinGeckoApiClient
-
getSearchResult
- Specified by:
getSearchResultin interfaceCoinGeckoApiClient
-
getGlobal
- Specified by:
getGlobalin interfaceCoinGeckoApiClient
-
getDecentralizedFinanceDefi
- Specified by:
getDecentralizedFinanceDefiin interfaceCoinGeckoApiClient
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceCoinGeckoApiClient
-