Skip to content

andrederoos/kraken-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kraken-client

REST-api client for Kraken.com

Latest Version Build Status

  • Simple interface for executing messages for Kraken REST api
  • Abstracts away the underlying signing of requests
$key = 'your-api-key';
$secret = 'your-api-secret';

$client = new \KrakenClient\KrakenClient($key, $secret);
$message = new \KrakenClient\message\MessageGetAccountBalances();
$response = $client->send($message->generateRequest(), $message->getNonceOrNull());

echo $response->getBody();

Help and docs

Installing

The recommended way to install the client is through Composer.

composer require andrederoos/kraken-client