devhun/wideshot-api-client
Composer 安装命令:
composer require devhun/wideshot-api-client
包简介
PHP API client for wideshot.co.kr (SEJONG Telecom Service)
README 文档
README
Install using composer
Open a shell, cd to your poject and type:
composer require devhun/wideshot-api-client
or edit composer.json and add:
{
"require": {
"devhun/wideshot-api-client": "~1.0"
}
}
If you want to use the GuzzleHttpAdapter, you will need to add Guzzle 6.
Usage examples
Guzzle
require 'vendor/autoload.php'; use Wideshot\WideshotClient; use Wideshot\Adapter\GuzzleHttpAdapter; // Using Guzzle 6... $client = new WideshotClient( new GuzzleHttpAdapter('your-api-key') ); $result = $client->result()->all(); var_export($result);
CURL
require 'vendor/autoload.php'; use Wideshot\WideshotClient; use Wideshot\Adapter\CurlAdapter; // Using regular CURL, courtesy of 'malc0mn' $client = new WideshotClient( new CurlAdapter('your-api-key') ); $result = $client->result()->all(); var_export($result);
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-04