Lue dans les fichiers PHP du paquet au commit 02a2944213b9 : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.
BingWebmasterFactoryclassBing Webmaster Tools, from its options:
3 options · 1 method
BingWebmasterProviderclassThe Bing Webmaster API (https://learn.microsoft.com/en-us/dotnet/api/microsoft.bing.webmaster.api.interfaces.iwebmasterapi): GET GetQueryStats, GetPageStats and GetRankAndTrafficStats with the site's URL and the API key. Bing answers with its own periods (a row per week, about six months back); the rows in the query's days are kept, summed over the period unless the date is asked for.
5 methods
Omnireach\BingWebmaster
BingWebmasterFactory class
final class BingWebmasterFactory extends ProviderFactory BingWebmasterFactory.php:18
Bing Webmaster Tools, from its options:
api_key the API key (Bing Webmaster Tools, Settings, API access) site the site as verified there ("https://example.org/") url https://ssl.bing.com/webmaster/api.svc/json
Options
| Option | Default | |
|---|---|---|
url | 'https://ssl.bing.com/webmaster/api.svc/json' | |
api_key | required | |
site | required |
BingWebmasterFactory::__construct()
public function __construct(readonly ?HttpClientInterface $http = null)BingWebmasterProvider class
final class BingWebmasterProvider implements SearchPerformanceInterface BingWebmasterProvider.php:24
The Bing Webmaster API (https://learn.microsoft.com/en-us/dotnet/api/microsoft.bing.webmaster.api.interfaces.iwebmasterapi): GET GetQueryStats, GetPageStats and GetRankAndTrafficStats with the site's URL and the API key. Bing answers with its own periods (a row per week, about six months back); the rows in the query's days are kept, summed over the period unless the date is asked for.
BingWebmasterProvider::__construct()
public function __construct(HttpClientInterface $http, readonly string $apiKey, readonly string $site, readonly string $url = 'https://ssl.bing.com/webmaster/api.svc/json')BingWebmasterProvider::getName()
public function getName(): stringBingWebmasterProvider::getTitle()
public function getTitle(): stringBingWebmasterProvider::capabilities()
public function capabilities(): CapabilitiesBingWebmasterProvider::searchPerformance()
public function searchPerformance(ReachQuery $query): Report