serp-vision/serp-vision-php-sdk
Composer 安装命令:
composer require serp-vision/serp-vision-php-sdk
包简介
Interact with the SERP Vision API
README 文档
README
This SDK is available for SERP Vision. You can use the API to provide SERP data in your own application.
Request your API-Key here https://serpvision.com.
The full documentation can be found on the website https://serpvision.com/api-endpoints/
#Get started
Install with composer (preferred)
Either run
$ php composer.phar require serp-vision/serp-vision-php-sdk "dev-master"
or add
"serp-vision/serp-vision-php-sdk": "dev-master"
to the require section of your composer.json file.
Without composer
Download
git clone https://github.com/SERPVision/SERPVision-php-sdk.git
#Example
use SERPVision\SERPVisionApi;
const SERPVISION_API_KEY = "MY-API-KEY";
$serpVision = new SERPVisionApi();
$res = $serpVision->getCredit(SERPVISION_API_KEY);
if ($res['status'] == 'ok') {
// Display the credit
echo $res['credit'];
}
else {
// Some error occurred
echo $res['message'];
}
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-26