PHP Classes

Google_Query: Retrieve the count of results of Google query

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 54%Total: 3,405 All time: 1,007 This week: 524Up
Version License PHP version Categories
google_query 1.0GNU General Publi...5.0Searching, Web services
Description 

Author

This class is meant to connect to Google and perform a query to Google.

The class lets you specify the query parameters as in the advanced search page of Google. Then it connects to Google site via HTTP and retrieves the contents of the results page.

The class also parses the results to obtain the number of occurrences found for the specified query.

The class requires PHP with TCP socket connection support enabled.

A bug has been fix : if google change it's result page design, results wasn't parse. To fix this problem, Google_AdvancedQuery class retrieve from a centralised location the valid detection pattern. you can update it according with your policy.
Class has been wrote back to php5 and zend coding standards.

Picture of MARY Matthieu
Name: MARY Matthieu <contact>
Classes: 19 packages by
Country: France, Metropolitan

 

  Files folder image Files (11)  
File Role Description
Files folder imageCache (1 file)
Files folder imageGoogle (3 files)
Files folder imageTest (1 directory)
Files folder imageTestlaunchers (1 directory)
Accessible without login Plain text file Autoload.php Aux. loader
Accessible without login Plain text file class_google_example.php Example how to install and use this class
Accessible without login Plain text file LICENCE Lic. GPL copy

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,405
This week:0
All time:1,007
This week:524Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2044