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.
composer require xovi/sdk$client = new \Xovi\Sdk\Client('myPersonalKey');
$domains = $client->getKeywordsService()->getRank('google.de');
foreach($domains as $domain) {
echo $domain->getDomain() . "\n";
}addPersongetPersonsgetOrganisations
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).
getXoviLimits- Returns all usage limits of the tool.getCreditState- Returns the current status of your credit data.
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.
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"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