lukaszoramus/zonda-php-api

Zonda PHP Api 客户端

0.2.6 2023-02-26 13:39 UTC

This package is auto-updated.

Last update: 2024-09-26 17:33:22 UTC


README

StyleCi Tests

安装

本版本支持 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) 下授权。