how to get more images form Google image search API?

278 views
Skip to first unread message

chengfe...@gmail.com

unread,
Apr 19, 2014, 8:58:06 AM4/19/14
to google-ajax...@googlegroups.com
hello,
        I just can get 64 images from the Google Image Search API by using the method: String address = "http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&userip="+ip+"&start="+i+"&q=";  Anyone can help me?

Jeremy Geerdes

unread,
Apr 19, 2014, 10:59:20 PM4/19/14
to google-ajax...@googlegroups.com
The Image Search API will only return a maximum of 64 results, in 8 "pages" of 8 results each. There is no known way to retrieve additional results via the Image Search API.

Furthermore, the Image Search API was deprecated in May 2011 and, per the deprecation policy, is due to be shut down in May. There is a chance that it may be allowed to operate beyond that, but I really would not count on it at this point in time.

I don't know what your application is, but you may want to consider the Custom Search API, which supports image search as well. You have to set up a Custom Search Engine (CSE) with image search enabled, and there are some strict limits on the number of free requests you can submit through the CSAPI, but you can retrieve up to 100 results.

jg


On Sat, Apr 19, 2014 at 7:58 AM, <chengfe...@gmail.com> wrote:
hello,
        I just can get 64 images from the Google Image Search API by using the method: String address = "http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&userip="+ip+"&start="+i+"&q=";  Anyone can help me?

--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/01be742b-2f42-4084-9be5-09a6f76e27d4%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
Reply all
Reply to author
Forward
0 new messages