daimekashiya/luno-php
Composer 安装命令:
composer require daimekashiya/luno-php
包简介
PHP SDK for the Luno API. Updated with latest release from source Github Repository since the official on Packagist only as at v0.0.4
关键字:
README 文档
README
Luno API 
This PHP package provides a wrapper for the Luno API. Updated with latest release from source Github Repository since the official on Packagist only as at v0.0.4
Installation
composer require daimekashiya/luno-php
Authentication
Please visit the Settings page to generate an API key.
Example usage
$client = new Luno\Client(); $client->setAuth("api_key_id", "api_key_secret"); $req = new Luno\Request\GetOrderBook(); $req->setPair("XBTZAR"); try { $res = $client->getOrderBook($req); echo "Found " . count($res->getBids()) . " bid(s)"; } catch (Luno\Error $e) { echo $e->message(); }
License
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-23