coinlore / cruptocurrency-prices
用于PHP的简单库,用于使用coinlore加密货币API
dev-master
2020-02-13 16:16 UTC
Requires
- ext-curl: *
This package is auto-updated.
Last update: 2024-09-14 02:48:16 UTC
README
用于NodeJS的简单库,用于使用coinlore加密货币API Coinlore.com API
Coinlore提供原始加密货币数据,由自己的算法计算出的币价,市值,交易量等信息,每分钟或更短时间更新一次。
安装
composer require coinlore/cruptocurrency-prices
OR
composer require "coinlore/cruptocurrency-prices @dev"
用法
require_once __DIR__ . '/vendor/autoload.php'; $client = new \Coinlore\Request(); //Get Bitcoin Info $coins = $client->getcoin(90); //Get coins from 0 to 100 $coins = $client->getcoins(0,100); //Get coin markets $coins = $client->getcoinmarkets(90); //Get exchanges $coins = $client->getexchanges(); //Get exchange $coins = $client->getexchange(5); //Get social stats $coins = $client->getsocialstats(90); print_r($coins);
许可
MIT许可