Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Which api should I choose?

Thread view: 
Dustin.Xu@gmail.com - 18 Mar 2008 08:10 GMT
Hi, all
  Glad to be here.
  I have some problems during my project, I would like to query some
words to google, and get something back, for example, how many
results. So which api should I choose? I found there used to be the
google soap search api, but it was no longer used.
  Thanks.
RedGrittyBrick - 18 Mar 2008 11:03 GMT
> Hi, all
>    Glad to be here.
[quoted text clipped - 3 lines]
> google soap search api, but it was no longer used.
>    Thanks.

Have you considered using one of the other search engines that still
provide a search API?

Signature

RGB

Roedy Green - 20 Mar 2008 06:47 GMT
>   I have some problems during my project, I would like to query some
>words to google, and get something back, for example, how many
>results. So which api should I choose?

you can just watch what a browser sends and mimic it with GET/POST.
See http://mindprod.com/products1.html#HTTP for the code.

see http://mindprod.com/jgloss/http.html

You can use a sniffer to help clarify what is going back and forth.
see http://mindprod.com/jgloss/sniffer.html
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

RedGrittyBrick - 20 Mar 2008 12:02 GMT
>>   I have some problems during my project, I would like to query some
>> words to google, and get something back, for example, how many
[quoted text clipped - 7 lines]
> You can use a sniffer to help clarify what is going back and forth.
> see http://mindprod.com/jgloss/sniffer.html

According to Google:

"Why is everyone in my network encountering a 'We're Sorry' page when
using Google?"

  Sending automated queries of any sort to Google is against our
  Terms of Service. For more information on Google Terms of Service
  for Your Personal Use, please visit
  http://www.google.com/terms_of_service.html.

http://www.google.com/support/bin/answer.py?answer=86640&topic=8995

Note that Yahoo and some other search engines do offer a search API.
http://developer.yahoo.com/search/

Signature

RGB



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.