Download the PHP package hardworm/webmaster.api without Composer
On this page you can find all versions of the php package hardworm/webmaster.api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hardworm/webmaster.api
More information about hardworm/webmaster.api
Files in hardworm/webmaster.api
Download hardworm/webmaster.api
More information about hardworm/webmaster.api
Files in hardworm/webmaster.api
Vendor hardworm
Package webmaster.api
Short Description Yandex Webmaster Api v4.1 library
License MPL-2.0
Homepage https://github.com/hardworm/webmaster.api
Package webmaster.api
Short Description Yandex Webmaster Api v4.1 library
License MPL-2.0
Homepage https://github.com/hardworm/webmaster.api
Please rate this library. Is it a good library?
Informations about the package webmaster.api
Yandex Webmaster Api v4.1 Library
- Installation
- Composer
- Manual
- Usage
Installation
Composer
add into composer.json
or
Also required prior to placing the package on packagist.org
Manual
Clone repository and require webmasterApi.php
Usage
How to use example:
-
Before use this code go to https://oauth.yandex.ru/client/new and add new client
- Create file "example/config.php" by copy "config.example.php". Add client ID and secret code here to use example
How to use webmasterApi class:
-
Add client on https://oauth.yandex.ru/client/new page. Don't forget to set up correct return url
-
For test you can get temporary Access Token (read comments to method webmasterApi::getAccessToken )
- If you want to get correct Access Token, you must create authorization code.
- Read doc on https://tech.yandex.ru/oauth/doc/dg/reference/web-client-docpage/
- Locate your client to https://oauth.yandex.ru/authorize?response_type=code&client_id=[yourclient_id]
- Use static method getAccessToken to get access token
- Create webmasterApi object with static method webmasterApi::initApi
You can see example/.auth.php to see how it working
- Enjoy!
Methods
addHost
addOriginalText
addQueueRecrawl
addSitemap
checkVerification
curlOpts
dataToString
delete
deleteHost
deleteOriginalText
deleteSitemap
errorCritical
get
getAccessToken
getApiUrl
getDiagnostics
getHostInfo
getHostOwners
getHostSitemaps
getHostSummary
getHostUserSitemaps
getHosts
getIndexingHistory
getIndexingSamples
getOriginalTexts
getPopularQueries
getQueueRecrawl
getQuotaRecrawl
getSearchUrlHistory
getSearchUrlSamples
getSearchUrlEventHistory
getSearchUrlEventHistorySamples
getSqiHistory
getStateRecrawlQueue
getUserID
initApi
post
verifyHost
All versions of webmaster.api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package hardworm/webmaster.api contains the following files
Loading the files please wait ....