Chapter 13: Understanding the Google Web APIs
In the chapter:
- Creating an automatic translation Web form
- Understanding clients and servers
- Understanding Web services
- Figuring out what you can do with the Google APIs
- Knowing the Google Web API limitations
Content from the chapter
Requesting a Search
To request a search you use the doGoogleSearch API. This is far and away the most important of the APIs. In addition to your developer key, doGoogleSearch expects you to include a specific search query. The search query consists of keywords and operators for the most part like the ones you use in a manual search query (as explained in Chapters 4 and 5)
You can use just about any keyword or operator with this API that you can use in a manual Google query. However, a few operators, such as the Google phonebook: operators, cannot be used in an automated query.
For the full details of which operators can go into an automated query, see the Google Web APIs Reference.
The syntax of a call to doGoogleSearch looks more or less like this:
result = doGoogleSearch(key, query, start, maxResults,
filter, restrict, safesearch, lr, ie, oe)
See Chapter 13 for more information about the Google APIs...
Links from the chapter:
|
|
Search Engine Optimization
 
Syndication Viewer
Our Web host:
IX WebHosting
|