Download the PHP package musheabdulhakim/coingecko without Composer
On this page you can find all versions of the php package musheabdulhakim/coingecko. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download musheabdulhakim/coingecko
More information about musheabdulhakim/coingecko
Files in musheabdulhakim/coingecko
Package coingecko
Short Description CoinGecko API client for PHP and Laravel Applications.
License MIT
Informations about the package coingecko
CoinGeckoApi
CoinGeckApi is a PHP & Laravel Package, (Designed to help working with coingecko api easier and faster).
Requirement
- Git
- Composer
- php >= 7.4
Installation
Basic usage
Example
Configuration
Update api version, base url and api key
Available methods
Ping
ping
Check API server status
Simple
getPrice
Get the current price of any cryptocurrencies in any other supported currencies that you need.
getTokenPrice
Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
getSupportedVsCurrencies
Get list of supported_vs_currencies.
Coins
getList
List all supported coins id, name and symbol (no pagination required)
getMarkets
List all supported coins price, market cap, volume, and market related data
getCoin
Get current data (name, price, market, ... including exchange tickers) for a coin
getTickers
Get coin tickers (paginated to 100 items)
getHistory
Get historical data (name, price, market, stats) at a given date for a coin
getMarketChart
Get historical market data include price, market cap, and 24h volume (granularity auto)
getMarketChartRange
Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)
getMarketChartRange
Get status updates for a given coin
Contract
getContract
Get coin info from contract address
getMarketChart
Get historical market data include price, market cap, and 24h volume (granularity auto) from a contract address
getMarketChartRange
Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address
asset_platforms
getList
List all asset platforms
Categories
getList
List all categories
getListWithMarketData
List all categories with market data
Exchange
getExchanges
List all exchanges
getList
List all supported markets id and name (no pagination required)
getExchange
Get exchange volume in BTC and top 100 tickers only
getTickers
Get exchange tickers (paginated)
getStatusUpdates
Get status updates for a given exchange
getVolumeChart
Get volume_chart data for a given exchange
Indexes
getIndexes
List all market indexes
getIndex
Get market index by id
getList
List market indexes id and name
Derivatives
getDerivatives
List all derivative tickers
getExchanges
List all derivative exchanges
getExchange
Show derivative exchange data
getExchangeList
List all derivative exchanges name and identifier
Exchange Rates
getExchangeRates
Get BTC-to-Currency exchange rates
Search
query
Search for coins, categories and markets listed on CoinGecko ordered by largest Market Cap first
Trending
getList
List trending coins by most popular first
Global
getGlobal
Get cryptocurrency global data
Get Top 100 Cryptocurrency Global Decentralized Finance(defi) data
Companies [Beta]
getPublicTreasury
Get cryptocurrency global data
Test
To run the tests, run the following command from the project folder.
Inspire By
coingecko-api
License
musheabdulhakim/coingecko
is released under the MIT License. See the bundled LICENSE for details.
Contribution
Report all your issues Here
All your pull requests are welcome :).