Appendix II: The Google API
The Google Web Service API
enables programmers to query more than 8 billion web pages from their own
computer programs. The Google Web Service is built on standard SOAP and WSDL
interfaces so can be accessed from a wide range of technology.
Search Engine Optimizers have built
a number of useful programs using the technology. In the
section on Site Rank we built a program using the
PERL programming language that gives a website's position in the
Google SERPs for a given set of keywords.
Web Service Interface
The following table describes the parameters to the Google Web Service
interface:
|
|
Name
|
Description
|
|
|
key
|
Provided by Google and required to access the Google
service. |
|
|
q
|
Query Terms (see below) |
|
|
start
|
Zero-based index of the first desired result.
|
|
|
maxResults
|
Number of results desired per query. The maximum value
per query is 10. |
|
|
filter
|
Hides very similar results and results that all come
from the same Web host. |
|
|
restricts
|
Restricts the search to a subset of the Google Web index.
This could be useful if you are targetting a particular market, see Google
API interface for more details |
|
|
safeSearch
|
Enables filtering of adult content in the search
results. |
|
|
lr
|
Language Restrict - Restricts the search to
documents within one or more languages. |
|
|
ie
|
Input Encoding - no longer used |
|
|
oe
|
Output Encoding - no longer used |

See Also
http://www.google.com/apis/
[ Home ] [ Table of Contents ] [ Start ]
|