lukaszoramus / zonda-php-api
Zonda PHP Api Client
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
Installation
This version supports PHP 8.1. To get started require the project using Composer.
You will probably also need install one of packages that provide "psr/http-client-implementation" e.g. guzzlehttp/guzzle
$ composer require "lukaszoramus/zonda-php-api:^0.2" "guzzlehttp/guzzle:^7.5"
How to use
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');
License
Zonda PHP API is licensed under The MIT License (MIT).