承接 xovi/sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xovi/sdk

Composer 安装命令:

composer require xovi/sdk

包简介

README 文档

README

Note

This package is work in progress. Not all methods are implemented yet. Please only use it in you production code if you are a real badass.

Install

composer require xovi/sdk

Example

$client = new \Xovi\Sdk\Client('myPersonalKey');
$domains = $client->getKeywordsService()->getRank('google.de');

foreach($domains as $domain) {
    echo $domain->getDomain() . "\n";
}

Implemented Services and Methods

Address Book

  • addPerson
  • getPersons
  • getOrganisations

Keywords

  • getRank - Returns the strongest domains within a search engine sorted by OVI.
  • getSearchEngines - Returns all daily crawled or weekly crawled search engines. (Contains data relevant for other functions).

User

  • getXoviLimits - Returns all usage limits of the tool.
  • getCreditState - Returns the current status of your credit data.

How to run tests

All methods are unit tested. As a normal user you don't have to run tests at all but if want to help with this open source library it will help you a lot.

Add your API key

To run the tests you have to add your API key to a file .env.local with the following content. You have to change the key in that file to match your key.

XOVI_API_KEY="f27d2abf6bf0a96ebarec196cd196a0b"

Run tests

After you added the key to the env file you just need to run the following command.

php vendor/bin/phpunit --bootstrap tests/autoload.php tests

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-07-23