franjsco / bitcoinfees
A PHP package to fetch Bitcoin fee predictions from bitcoinfees.earn.com
v0.1.0
2021-10-19 21:24 UTC
Requires
- php: ^7.2|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.4
README
A PHP package to fetch Bitcoin fee predictions from bitcoinfees.earn.com
Requirements
- PHP >= 7.2
- ext-json
Installation
composer require franjsco/bitcoinfees
Example
use Franjsco\Bitcoinfees\Client; $client = new Client(); $data = $client->getData();
Data example:
[ "fastestFee" => "102", "halfHourFee" => "102", "hourFee" => "88" ]