webjeyros/bing-webmaster-api

Bing webmaster api client

Installs: 6 633

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 5

Open Issues: 1

pkg:composer/webjeyros/bing-webmaster-api

dev-master 2020-11-17 15:28 UTC

This package is not auto-updated.

Last update: 2025-10-16 05:36:25 UTC


README

Bing webmaster api client

Instalation

composer require webjeyros/bing-webmaster-api

Example usage:

use bingWebmaster\actions\GetUserSites;

require_once __DIR__.'/../vendor/autoload.php';
$client = new GuzzleHttp\Client();
$webmaster = new \bingWebmaster\client('__API-KEY-HERE__',$client);


$sites=$webmaster->request(new GetUserSites());
foreach ($sites as $site) {
    if (!$site->IsVerified)
        printf("Site %s is not verified. Authentication code is %s".PHP_EOL,$site->Url,$site->AuthenticationCode);
}