lukaszoramus / zonda-php-api
Zonda PHP Api 客户端
0.2.6
2023-02-26 13:39 UTC
Requires
- php: ^8.1
- php-http/client-common: ^2.6
- php-http/curl-client: ^2.2
- php-http/discovery: ^1.14
- php-http/message: ^1.13
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- guzzlehttp/guzzle: ^7.5
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^5.6
README
安装
本版本支持 PHP 8.1。要开始使用,请使用 Composer 依赖项目。您可能还需要安装提供 "psr/http-client-implementation" 的包之一,例如 guzzlehttp/guzzle
$ composer require "lukaszoramus/zonda-php-api:^0.2" "guzzlehttp/guzzle:^7.5"
如何使用
use ZondaPhpApi\Client; $client = new Client(); $client->authenticate('yourPublicApiKey', 'yourPrivateApiKey'); // Not required if you use only public endpoints // Example call $client->trading()->ticker('BTC-PLN');
许可协议
Zonda PHP API 在 MIT 许可协议 (MIT) 下授权。