detailnet/denner-client
最新稳定版本:5.4.0
Composer 安装命令:
composer require detailnet/denner-client
包简介
API Client for Denner Portal 2.0 Web Services
关键字:
README 文档
README
API Client for Denner Portal 2.0 Web Services
Installation
Install the library through Composer using the following steps:
-
cd my/project/directory -
Create a
composer.jsonfile with following contents (or update your existing file accordingly):{ "require": { "detailnet/denner-client": "^4.1" } } -
Install Composer via
curl -s http://getcomposer.org/installer | php(on Windows, download the installer and execute it with PHP) -
Run
php composer.phar self-update -
Run
php composer.phar install
Usage
See the following example for how to use the library:
// App-ID and App-Key are required to authenticate the client $config = [ 'app_id' => 'your-app-id', 'app_key' => 'your-app-key', ]; // Create the client (e.g. the client for Denner Articles Service) $client = ArticlesClient::factory($config); // Send a request $params = ['week' => '50']; $response = $client->listAdvertisedArticles($params);
More examples can be found in the examples directory.
统计信息
- 总下载量: 5.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-30