iadvize/apirestclient
最新稳定版本:1.3.0
Composer 安装命令:
composer require iadvize/apirestclient
包简介
iAdvize API Rest client
README 文档
README
Library to access iAdvize api
Examples
List websites
use Iadvize\ApiRestClient\Client; // Create client $client = new Client(); $client->setAuthenticationKey(API_KEY); // Get resource $website = $client->getResource('website', 123); // Display resource if ($website) { printf( '[%s] — %s - http://%s' . PHP_EOL, $website['id'], $website['name'], $website['url'] ); } else { echo $client->getLastResponse()->getMeta()->getMessage(); }
Install
composer require iadvize/apirestclient
Documentation
You can access the documentation here : documentation
Launch tests
cp ./phpunix.xml.dist ./phpunix.xml ./vendor/bin/phpunit -c phpunit.xml
Contribute
Look at contribution guidelines here : CONTRIBUTING.md
统计信息
- 总下载量: 48.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-03-18