Google Blogoscoped

Forum

Google REST Search API  (View post)

Vasudev Ram [PersonRank 0]

Wednesday, April 9, 2008
11 years ago9,224 views


Thanks, interesting news. Lots of people were asking why they stopped the SOAP API ... this new REST API shoud be useful, more so because many languages have JSON support ...

Haochi [PersonRank 10]

11 years ago #

I believe that it's been there for as long as the AJAX API's been around. 99% sure.

Ionut Alex. Chitu [PersonRank 10]

11 years ago #

No, it's very recent. Most likely, it was launched on March 31st.

cc.msnscache.com/cache.aspx?q= ...

Haochi [PersonRank 10]

11 years ago #

Ok, maybe that is, but I have always been able to grab the same data using: google.com/uds/GwebSearch?call ...

Philipp Lenssen [PersonRank 10]

11 years ago #

It also says "New" in red next to the headline on Google's help page, though of course that by itself is not proof, as Google sometimes writes "new" for very old stuff :)
If you've used a similar approach before perhaps it's just that it's official now?

Sam [PersonRank 3]

11 years ago #

Yahoo's web search will return xml, json or php like nearly all of the web services that Yahoo offers.

Eugenius [PersonRank 1]

11 years ago #

"*I'm not sure how recent this is"

Well, I first saw it on: 2008-04-03 and wrote the following in my blog:

eugeni.us/blog/index.php/2008/ ...

Seth Finkelstein [PersonRank 10]

11 years ago #

They may have "released" it just now, not sure. But the internals of the Javascript code that's been around for a while have always worked that way. There's been some unsupported third-party wrappers based on reverse-engineering the Javascript libraries.

Seth Finkelstein [PersonRank 10]

11 years ago #

Ah – "In addition, we ask, but do not require, that each request contains a valid API Key"

The request used to *require* an API key.

They're definitely now making public the internals of the Javascript library.

Eugene Villar [PersonRank 5]

11 years ago #

Wow! This certainly makes creating an "outsourced" search feature for your website (assuming that your CMS doesn't have search built-in) much easier with complete control over the looks of the SERPs. :-)

Philipp Lenssen [PersonRank 10]

11 years ago #

Thanks Sam for the note!

Edit:
"though it returns XML"
changed to
"though it can return XML as well"

Stephen Tordoff [PersonRank 10]

11 years ago #

"Here's a PHP5 sample that grabs the Google top 10 results, for instance "

Not sure you have the right link there

J. McNair [PersonRank 10]

11 years ago #

Hmm, can this be used with Google Custom Search Engines? I wonder if they'll add this feature, thus making Eugene Villar's "outsourced" search feature even more useful.

Ionut Alex. Chitu [PersonRank 10]

11 years ago #

Yes, use the cx parameter.

CHRIS [PersonRank 0]

11 years ago #

anyone have any google keys im still using googlephp.

anyone?

Hong Xiaowan [PersonRank 10]

11 years ago #

I did a wordpress plugin, Google Taged Links.

This wordpress plugin based on Google REST Search API, Zuosa Tag Plugin and idea from Google Related Links.

hongxiaowan.com/google-taged-l ...


zuosa.com/photo/mms/00/00/39/7 ...




zuosa.com/photo/mms/00/00/39/8 ...

Haochi [PersonRank 10]

11 years ago #

*Cough*
You know the Google AJAX API does exactly that right?

Hong Xiaowan [PersonRank 10]

11 years ago #

[put at-character here]Haochi

Yes, almost same as Google Ajax API search, use tags auto match. Updated just:

1.add adsense as default, I remembered Philipp said that Google related Links should add adsense. Also iFire said should add this tab as default.


zuosa.com/photo/mms/00/00/39/4 ...



2.setting the tabs that you’d like to show.


zuosa.com/photo/mms/00/00/39/7 ...

Hong Xiaowan [PersonRank 10]

11 years ago #

[put at-character here]Haochi

Google Ajax API Search: Search then display. Mixed the adsense, but webmaster can not get the adsense profit? I do not know.

Google Related Links: Match the content of the page, then display at the meantime, webmaster can not get the adsense profit? I do not know.

Google Taged Links: Match the Tags of the wordpress post, display at the meanting, webmaster can get the adsense profit.

Haochi [PersonRank 10]

11 years ago #

I don't think Google would be too happy about it (no you, but whoever's going to use it) unless your plugin force AdSense to be displayed on the bottom of each tabs.

By the way, you mean "Tagged" right (with two g's) – unless we are having a new trend of dropping the one g (as oppose to Digg). :)

Hong Xiaowan [PersonRank 10]

11 years ago #

[put at-character here]Haochi

1.Did this way break the Google's adsense policy? I use JS to display the Google Tagged Links on the client to obey the Google's Search Policy. Google Adsense will not match the content of Google Tagged Links.

2.Thank you, I changed the wrong "taged" to "Tagged".

Hong Xiaowan [PersonRank 10]

11 years ago #

Also, this plugin URL moved to

hongxiaowan.com/google-tagged- ...

Will modify screenshot soon.

Thanks @HaoChi

Mark Lucovsky [PersonRank 1]

11 years ago #

Looks like you scooped us on this story :)

googleajaxsearchapi.blogspot.c ...

Henry Greville [PersonRank 0]

11 years ago #

Another benefit of screenscraping the HTML search results is the automatic suggestion and correction of spelling mistakes – the link containing "Did you mean: [terms]?"

Mr. S [PersonRank 0]

11 years ago #

THis will work. But Google will reject the request and show captcha screen after some attempts. so instead, use code.google.com/apis/ajaxsearc ...

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!