andreas-glaser / kraken-php-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
An efficient kraken rest api client, built on top of guzzle
dev-master / 1.0.x-dev
2017-03-21 12:12 UTC
Requires
- php: ^7
- andreas-glaser/php-helpers: ^1.1
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ^5
- symfony/var-dumper: @stable
This package is not auto-updated.
Last update: 2020-01-24 16:38:04 UTC
README
An efficient kraken rest api client, built on top of guzzle
Requirements
- PHP 7.x
- Composer Dependency Manager
- Kraken account (optional, but required for trading)
Installation
composer require andreas-glaser/kraken-php-client dev-master
Usage
<?php use AndreasGlaser\KPC\KPC; $apiKey = 'YOUR_PRIVATE_API_KEY'; $apiSecret = 'YOUR_PRIVATE_API_SECRET'; /** @var KPC $kpc */ $kpc = new KPC($apiKey, $apiSecret); $result = $kpc->getTicker(['XBTUSD', 'ETHXBT']); var_dump($result->decoded);