承接 hanischit/kraken-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hanischit/kraken-api

最新稳定版本:1.1.5

Composer 安装命令:

composer require hanischit/kraken-api

包简介

A API-Client for the crypto market Kraken.com.

README 文档

README

Gitter chat PHP 5.5 PHP 5.6 PHP 7 PHP 7.1 Version Scrutinizer Code Quality Code Coverage

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.

Build status: Build Status

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.

统计信息

  • 总下载量: 541
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-17