承接 haydenw/nzbcx-api 相关项目开发

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

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

haydenw/nzbcx-api

Composer 安装命令:

composer require haydenw/nzbcx-api

包简介

NZBCX API library

README 文档

README

This is a PHP wrapper library for the NZBCX API

Installation

Install using Composer.

composer require haydenw/nzbcx-api:dev-master

Authentication

Modify $apiKey, $apiSecret and $userId to your API details. Ensure these are kept securely.

$apiKey = "W8X7nzwDxifU8HYo56TzSXqVRhAFhsUc8RWo";
$apiSecret = "PDmYdflwnE4jQhdvnlDkK3gBQ0E1qmSdX0sL";
$userId = "1234567";

Basic usage

$nzbcx = new NZBCX($apiKey, $apiSecret, $userId, true); // Create NZBCX instance in test mode

// Make calls to NZBCX functions and use the results returned
$accountBalance = $nzbcx->accountBalance();
if ($accountBalance) {
	echo "BTC Balance: ".$accountBalance->BTC_balance."\n";
	echo "NZD Balance: ".$accountBalance->NZD_balance."\n";
}

See example.php for more detailed code usage.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-29