franjsco / crypto-fear-greed-index
A PHP package to fetch Bitcoin Crypto Fear and Greed Index data from alternative.me
v0.1.0
2021-09-30 15:16 UTC
Requires
- php: ^7.2|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.3
README
A PHP package to fetch Bitcoin Crypto Fear and Greed Index data from alternative.me
Requirements
- PHP >= 7.2
- ext-json
Installation
composer require franjsco/crypto-fear-greed-index
Example
use Franjsco\CryptoFearGreedIndex\Client; $client = new Client(); $data = $client->getData();
Data example:
[ "value" => "20", "value_classification" => "Extreme Fear", "timestamp" => "1632960000", "time_until_update" => "28139", ]