tags:

views:

357

answers:

2

I am writing a java code. I want to search a string on google and google images using my java code.

Previously i wasnt even able to search text and then i had to register with google and then i could do it.

Now i want to search a string against googleimages

How can i do it?

Regards Manjot

+3  A: 

It's pretty similar to text search, you just need to specify the URL as

http://ajax.googleapis.com/ajax/services/search/images

Standard arguments are described here, image -specific ones are here.

ChssPly76
Thanks i will try and let you know.
Manjot
+1  A: 

I agree with ChssPly76, but you have to include version number in URL as following

http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=

put q= watever you want to search for.

I hope it will help you. Cheers.

Zinx
Thanks very much:-)
Manjot