Download the PHP package codenix-sv/messari-api without Composer
On this page you can find all versions of the php package codenix-sv/messari-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codenix-sv/messari-api
More information about codenix-sv/messari-api
Files in codenix-sv/messari-api
Package messari-api
Short Description PHP REST API client for messari.io
License MIT
Homepage https://github.com/codenix-sv/messari-api
Informations about the package messari-api
Messari.io PHP REST API Client
A simple REST API client, written with PHP for messari.io.
Messari provides free API endpoints for thousands of crypto assets. These endpoints include trades, market data (VWAP), quantitative metrics, qualitative information. This is the same API that drives the messari.io web app.
Most endpoints are accessible without an API key, but rate limited. This is free tier. This free tier does not include redistribution rights and requires attribution and a link back to messari.io.
Messari.io API documentation.
Requirements
- PHP >= 7.2
- ext-json
Installation
The preferred way to install this extension is through composer.
Either run
or add
Basic usage
Example
Available methods
Assets
getAll
Get the paginated list of all assets and their metrics and profiles.
get
Get basic metadata for an asset.
getProfile
Get all of our qualitative information for an asset.
getMetrics
Get all of our quantitative metrics for an asset.
getMarketData
Get the latest market data for an asset. This data is also included in the metrics endpoint, but if all you need is market-data, use this.
getTimeseries
Retrieve historical timeseries data for an asset.
Markets
getAll
Get the list of all exchanges and pairs that our WebSocket-based market real-time market data API supports.
getTimeseries
Retrieve historical timeseries data for a market.
News
getAll
Get the latest (paginated) news and analysis for all assets.
GetForAsset
Get the latest (paginated) news and analysis for an asset.
License
codenix-sv/messari-api
is released under the MIT License. See the bundled LICENSE for details.
All versions of messari-api with dependencies
ext-json Version *
codenix-sv/api-client Version ^1.0
nyholm/psr7 Version ^1.2
php-http/guzzle6-adapter Version ^2.0