PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Vijay Immanuel  >  Google API Access for PHP  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: Google API Access for PHP
PHP class library to access the Google API viaSOAP
Author: By
Last change: Updated the really old email and website.
Date: 8 years ago
Size: 2,801 bytes


Class file image Download
Google API Access for PHP
- A PHP class library to access the Google API via SOAP using WSDL.


This README file describes the Google API Access for PHP class 

This class library is designed to make accessing the Google API using 
PHP via SOAP, a lot easier. This is a Java-style class library, which 
uses getter and setter functions to set parameters for search queries, 
and to access individual result components. 


Step 1: Register with Google to receive an authentication key. You can 
register online at

Step 2: Get the NuSOAP library (, and 
place the file nusoap.php somewhere on the include path, or change the 
'require_once' directive in this file to point to the correct location 
of the nusoap.php file on your computer. 

Step 3: That's it! you can start writing your own code, using this 
library, to access the Google API. Please go through the example code 
to get started. 


1. GoogleSearch.php 
	- PHP class library to access the Google API.

2. README.txt 
	- This file. 

3. example1.php
	- Example to use this library for Google spelling suggestion. 

4. example2.php
	- Example to use this library to access Google cached pages. 

5. example3.php
	- Example to use this library to perform a Google search.  


At the moment, this library is experimental and designed to work only 
with PHP4 and above. 


Please send your suggestions, bug reports and general feedback to my 
email, You can also contact me through my 

I'd be glad to hear your feedback. Please feel free to send a word, if 
you find this program interesting or useful. I'd really love to know 
how people implement this library. 


This source file is released under LGPL license, available through the 
world wide web at, This 
library is distributed WITHOUT ANY WARRANTY. Please see the LGPL for 
more details.

This library requires the "NuSOAP - Web Services Toolkit for PHP", 
available for free at, under the LGPL 

Author: Vijay Immanuel <>