PHP Classes

PHP Webmaster Tools API: Access Google Webmaster Tools API for given sites

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,161 All time: 3,267 This week: 37Up
Version License PHP version Categories
webmaster-tools-api 1.0.23BSD License4Web services, SEO
Description 

Author

This class can access Google Webmaster Tools API version 3 for given sites.

It uses OAuth 2.0 to obtain authorization from a user of a Webmaster Tools account that has permissions to access statistics and other services of associated to given sites.

Currently it can get the list of statistic data available for download like a site top searched pages or the top search keywords that lead traffic to a site.

The class can also get the top searched pages list and return it sorted by clicks or impressions, as well filter it to return only URLs that match a given pattern.

A separate class is provided to present a Web forms based user interface to configure and show the list of top searched pages.

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos <contact>
Classes: 45 packages by
Country: Portugal Portugal

Recommendations

Remarketing and retargeting system
Show advertising based the users Google search

  Files folder image Files (6)  
File Role Description
Files folder imageconfiguration (1 file)
Files folder imagevar (2 directories)
Accessible without login Plain text file access_top_pages.php Example Example script to retrieve the top site pages with more search visits
Plain text file top_pages.php Class Use case class to retrieve site top pages
Plain text file web_master_tools.php Class WebmasterTools access class

  Files folder image Files (6)  /  configuration  
File Role Description
  Plain text file configuration.php Class Configuration class

  Files folder image Files (6)  /  var  
File Role Description
Files folder imagelogs (1 file)
Files folder imagetokens (1 file)

  Files folder image Files (6)  /  var  /  logs  
File Role Description
  Accessible without login Plain text file .cvsignore Data CVS ignore files list

  Files folder image Files (6)  /  var  /  tokens  
File Role Description
  Accessible without login Plain text file .cvsignore Data CVS ignore file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadwebmaster-tools-api-2017-02-07.zip 7KB
Downloadwebmaster-tools-api-2017-02-07.tar.gz 5KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP HTTP protocol client Download .zip .tar.gz Send HTTP requests to the Webmaster Tools API Required
PHP Forms Class with HTML Generator and JavaScript Validation Download .zip .tar.gz Present the user interface to configure the options to retrieve the top searched pages Conditional
PHP OAuth Library Download .zip .tar.gz Authorize the access to the Webmaster Tools API on behalf of a given user Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,161
This week:0
All time:3,267
This week:37Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1569