开发者

Searching google images from java code

I am writing a java code. I want to search a strin开发者_开发技巧g 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


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜