hanischit / kraken-api
This package is abandoned and no longer maintained.
No replacement package was suggested.
A API-Client for the crypto market Kraken.com.
1.1.5
2018-01-13 22:35 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- doctrine/instantiator: 1.0.5
- phpdocumentor/reflection-docblock: 3.2.2
- phpunit/phpunit: ^4.8
- symfony/yaml: 3.3.6
README
Simple API client to work with kraken.
All calls of the api are implemented: https://www.kraken.com/help/api
Installation & loading
Kraken api is available on Packagist (using semantic versioning), and installation via composer is the recommended way to install Kraken-api. Just add this line to your composer.json
file:
"hanischit/kraken-api": "^1.1.5"
or run
composer require hanischit/kraken-api
The API declares the namespace \HanischIt\KrakenApi
.
Example
require_once(__DIR__ . '/../vendor/autoload.php'); try { $api = new \HanischIt\KrakenApi\KrakenApi("Your-API-Key", "Your-API-Sign"); $serverTimeResponse = $api->getServerTime(); echo "UnixTime: " . $serverTimeResponse->getUnixTime() . "\n"; echo "rfc1123: " . $serverTimeResponse->getRfc1123(); } catch (Exception $e) { echo $e->getMessage(); }
See examples folder for more examples.
Tests
There is a PHPUnit test script in the test folder.
Security
Please disclose any vulnerabilities found responsibly - report any security problems found to the maintainers privately.
Contributing
Please submit bug reports, suggestions and pull requests to the GitHub issue tracker.