Download the PHP package coinpaprika/coinpaprika-api-php-client without Composer
On this page you can find all versions of the php package coinpaprika/coinpaprika-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coinpaprika/coinpaprika-api-php-client
More information about coinpaprika/coinpaprika-api-php-client
Files in coinpaprika/coinpaprika-api-php-client
Package coinpaprika-api-php-client
Short Description coinpaprika.com API v1 client
License MIT
Homepage https://api.coinpaprika.com/
Rated 1.00 based on 1 reviews
Informations about the package coinpaprika-api-php-client
Coinpaprika API PHP Client
Usage
This library provides convenient way to use coinpaprika.com API in PHP.
Coinpaprika delivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
Requirements
- PHP >= 8.0
- (optional) PHPUnit to run tests.
Install
Via Composer:
Getting started
From $client object, you can access all the endpoints.
Cache usage
For deserialization process it is advised to initiate the $client with $cacheDir argument.
Paid API
Pass the API key as the first constructor argument (or use setApiKey() after construction). The client will automatically route requests to api-pro.coinpaprika.com.
API Coverage
Market Data
OHLCV
Exchanges
Coins
Contracts
Other
Return types
Endpoints come in two flavors:
- Typed — returned as JMS-deserialized model classes under
Coinpaprika\Model\*. Covers the bulk of the surface:GlobalStats,Ticker,HistoricalTicker,Coin,CoinMeta,OHLCV,Ico,Search,Market,ExchangeDetail,KeyInfo,CoinMapping,ChangelogEntry. - Raw
array— auxiliary endpoints whose shape is easier to work with as a plain decoded-JSON blob (Twitter timelines, events, tags, contracts, price converter, etc.). The Coinpaprika API reference is the source of truth for those shapes.
Examples
Check out the ./examples directory. For a quick end-to-end sanity run against the live API:
Load/latency profiling:
Changelog
See CHANGELOG.md for release notes and migration guidance.
License
CoinpaprikaAPI is available under the MIT license. See the LICENSE file for more info.
All versions of coinpaprika-api-php-client with dependencies
jms/serializer Version ^1.13.0
guzzlehttp/guzzle Version ^7.4.3
symfony/yaml Version ^5.6.0
doctrine/cache Version ^2.2

