madnesscode/copyscape
Composer 安装命令:
composer require madnesscode/copyscape
包简介
Copyscape API
README 文档
README
Installation
The Copyscape API can be installed with Composer. Run this command:
composer require madnesscode/copyscape
Usage
Note: This version of the API requires PHP 5.6 or greater.
Example
use MadnessCODE\Copyscape\Api;
Use copyscape username and API key for credentials:
$copyscape = new Api('my_username', 'my_api_key');
Enable test mode:
$copyscape->setTestMode();
Check your account balance:
$result = $copyscape->getBalance(); print_r($result);
Url search:
$result = $copyscape->urlSearch('http://www.copyscape.com/example.html'); print_r($result);
Text search:
$result = $copyscape->textSearch('Lorem ipsum dolor sit amet, consectetur adipiscing elit.'); print_r($result);
Complete documentation is available here.
统计信息
- 总下载量: 83
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-22