Hi, I was wondering the same exact thing and I found that you can use Web Search Specific Arguments (see [1]) and in particular the argument lr?
What I did was to pass this parameter with value "lang_de" for German to the Google Search engine like this: http://ajax.googleapis.com/ajax/services/search/web?v=1.0&lr=lang_de&q=wikipedia what I get is a list of results that make reference to pages written in that language. It's not entirely the same as searching in Google.de but I think it's a good start. Does anybody know whether this is actually the same? I mean, should it be same? hope it helps, Gaston [1] http://code.google.com/apis/ajaxsearch/documentation/reference.html#_fonje_web On Aug 7, 11:36 pm, Matt Foster <[email protected]> wrote: > You could however create a Google Custom Search engine and specify > such a filter and make requests via the CSE...It does not completely > omit other languages but it does give the specified language a higher > precedence... > > http://code.google.com/apis/customsearch/docs/ref_languages.html > > I've actually written some decent code to make harnessing a CSE easier > through the AJAX API on my own blog search, feel free to gank any code > on the page... viva la open source... > > http://positionabsolute.net/blog/search/ > > On Aug 5, 10:18 am, Jeremy Geerdes <[email protected]> wrote: > > > > > At this time, the AJAX Search API does not support localized search > > engines (e.g.,www.google.de). Star it on the issue tracker: > > >http://code.google.com/p/google-ajax-apis/issues/detail?id=78 > > > Jeremy R. Geerdes > > Effective website design & development > > Des Moines, IA > > > For more information or a project > > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgee... > > [email protected] > > > Unless otherwise noted, any price quotes contained within this > > communication are given in US dollars. > > > If you're in the Des Moines, IA, area, check out Debra Heights > > Wesleyan Church! > > > And check out my blog, Adventures in Web Development, > > athttp://jgeerdes.blogspot.com > > ! > > > On Aug 5, 2009, at 5:38 AM, User932 wrote: > > > > Hello, > > > > I use PHP by using the Google Web Search API. > > > > Queries sent tohttp://ajax.googleapis.com/ajax/services/search/web?v=1.0 > > > ... > > > sends me back results from Google.com (English web search results). > > > Is there a possibility to get back results from Google Germany > > > (www.google.de)? > > > > Requests tohttp://ajax.googleapis.de/ajax/services/search/web?v=1.0 > > > don't work. > > > > Best regards, > > > User932 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en -~----------~----~----~----~------~----~------~--~---
