boolxy/dataforseo
Composer 安装命令:
composer require boolxy/dataforseo
包简介
The easiest way for using DataForSEO APIs in PHP
关键字:
README 文档
README
The easiest way for using DataForSEO APIs in PHP
Installation
This package can be installed via Composer:
composer require boolxy/dataforseo
Usage
use BoolXY\DataForSEO\Client; use BoolXY\DataForSEO\DataForSEO; use BoolXY\DataForSEO\Requests\KeywordsData\SearchVolumeForKeyword\LiveDataRequest; $data = [ [ "language" => "en", "loc_name_canonical" => "United States", "key" => "average page rpm adsense", ], [ "language" => "en", "loc_id" => 2840, "key" => "adsense blank ads how long", ], [ "language" => "en", "loc_name_canonical" => "United States", "key" => "leads and prospects", ], ]; $client = new Client($base_uri, $user, $pass); $result = DataForSEO::create($client) ->setRequest(LiveDataRequest::create($data)) ->get();
With reviewing the tests, you can learn more...
API documentation: https://docs.dataforseo.com/
Testing
Copy phpunit.xml.dist as phpunit.xml and update it. After then you can start testing.
vendor/bin/phpunit
or
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-29