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

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

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);