views:

36

answers:

1

I am using the Google API for .Net http://code.google.com/p/google-api-for-dotnet/ and no matter how many results I ask for Google never returns more than 64.

Here is my code snippet:

    GwebSearchClient client = new GwebSearchClient("xyz");

    IList<IWebResult> results = client.Search(this.SearchText.Text, 100);

I expected to get 100 results, but never get more than 64 irrespective of the search term used.

Any ideas?

+1  A: 

According to the Google AJAX Search API (which uses the same HTTP requests to Google servers as the .NET API,) the maximum returned results are 64.

Note: The maximum number of results pages is based on the type of searcher. Local search supports 4 pages (or a maximum of 32 total results) and the other searchers (Blog, Book, Image, News, Patent, Video, and Web) support 8 pages (for a maximum total of 64 results).

From here, scroll two lines up. Or search the page for "maximum number".

imgx64