Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Google Search Results Country Specific

0 views
Skip to first unread message

allan....@gmail.com

unread,
Jun 20, 2006, 10:17:32 AM6/20/06
to
Hi,

I am from the UK and I have written a C# application to use the API to
search Google but I would like to use the option 'pages from the UK'
like you can from google.co.uk.

How would I go about doing this via the API in C#?

My code is below:

---------------------------------------------------------------------------------------------------------------------------------------
searchresults = searchservice.doGoogleSearch(licensekey,
searchphrase, 1, 10, false, string.Empty, true, string.Empty,
string.Empty, string.Empty );
---------------------------------------------------------------------------------------------------------------------------------------


Many Thanks,

Al

shet

unread,
Jun 21, 2006, 5:41:27 AM6/21/06
to


One of the parameter for doGoogleSearch is "restrict". Its value
indicates country specific search.
For your case i guess it will be "countryUK".
Anyway refer the documentation.. u will find it.

-shet-

0 new messages