nitrado/nitrapi-php-lib
最新稳定版本:3.1
Composer 安装命令:
composer require nitrado/nitrapi-php-lib
包简介
PHP SDK for Nitrapi
README 文档
README
Official PHP based SDK for the Nitrapi RESTful API.
Recommends
- PHP 5.5 or higher
- Composer
Installation
Edit the composer.json and execute composer.phar update
{
"require": {
"nitrado/nitrapi-php-lib": "dev-master",
}
}
Example
<?php require_once '../vendor/autoload.php'; try { $api = new \Nitrapi\Nitrapi("<accesss token>"); var_dump($api->getServices()); } catch(\Exception $e) { var_dump("API Error: " . $e->getMessage()); }
统计信息
- 总下载量: 6.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-19