2.2.0 • Published 2 years ago

coingecko-api-pro v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm Codacy Badge

CoinGecko Api Pro NodeJs Wrapper

Coin Gecko Api Node js wrapper

Sample Usage

npm i coingecko-api-pro
//1. Import coingeckojs
const CoinGecko = require('coingecko-api-pro');

//2. Initiate the CoinGecko API Client
const CoinGeckoClient = new CoinGecko();

//3. Make calls
var func = async() => {
  let data = await CoinGeckoClient.ping();
};

You can also find the another sample usages and test files on the

Supported API method

Pingfunction
/ping_client.ping()
Simplefunction
/simple/price_client.simple.tokenPrice()
/simple/token_price/:id_client.simple.price()
/simple/supported_vs_currencies_client.simple.supportedVsCurrencies()
Coinsfunction
/coins/list_client.coins.list()
/coins/markets_client.coins.markets()
/coins/:id_client.coins.coinById()
/coins/:id/tickers_client.coins.tickersById()
/coins/:id/historyclient.coinIdHistory()
/coins/id/market_chart_client.coins.marketChartById()
/coins/{id}/market_chart/range_client.coins.marketChartRangeById()
/coins/{id}/status_updates_client.coins.statusUpdateById()
/coins/{id}/ohlc_client.coins.ohlcById()
Contractfunction
/coins/{id}/contract/{contract_address}_client.contract.getCoinInfo()
/coins/{id}/contract/{contract_address}/market_chart/_client.contract.getMarketChart()
/coins/{id}/contract/{contract_address}/market_chart/range_client.contract.getMarketChartRange()
Asset Platformsfunction
/asset_platforms_client.assetPlatform()
Categoriesfunction
/coins/categories/list_client.categories.listCategories()
/coins/categories_client.categories.listCategoriesWithMarketData()
Exchangesfunction
/exchanges_client.exchanges.exchanges()
/exchanges/list_client.exchanges.exchangesList()
/exchanges/{id}_client.exchanges.exchangesById()
/exchanges/{id}/tickers_client.exchanges.tickerById()
/exchanges/{id}/status_update_client.exchanges.statusUpdatesById()
/exchanges/{id}/volume_chart_client.exchanges.volumeChartById()
Financefunction
/finance_platforms_client.finance.platforms()
/finance_products_client.finance.products()
Indexesfunction
/indexes_client.index.indexes()
/indexes/{market_id}/{id}_client.index.byMarketIdandId()
/indexes/list_client.index.indexesList()
Derivativesfunction
/derivatives_client.derivatives.derivatives()
/derivatives/exchanges_client.derivatives.Exchanges()
/derivatives/exchanges/{id}_client.derivatives.ExchangesById()
/derivatives/exchanges/list_client.derivatives.ExchangesList()
Status Updatefunction
/status_updates_client.statusUpdate()
Exchange Ratesfunction
/exchange_rates_client.exchangeRates()
Trendingfunction
/search/trending_client.trending()
Globalfunction
/global_client.global.global()
/global/decentralized_finance_defi_client.global.globalDefi()
2.2.0

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago