Home:ALL Converter>Getting URL of images in Google Images with Google Custom Search API?

Getting URL of images in Google Images with Google Custom Search API?

Ask Time:2015-07-26T21:26:47         Author:Praise

Json Formatter

I am trying to use Google Custom Search API to get URL of images in Google Images. How do I set up my custom search site to use images.google.com as its site to search? I just tried to use the Google Images url (images.google.com) when I sat up my Custom Search, but that does not seem to work.

When I try to do a REST call this is what I get:

{
"title": "Google Custom Search - tomat",
"totalResults": "0",
"searchTerms": "tomat",
"count": 10,
"inputEncoding": "utf8",
"outputEncoding": "utf8",
"safe": "off",
"cx": "THIS IS WHERE THE CX NUMBER IS"
}

I am trying to get the image URL of the three first hits on a search query. Any ideas?

Author:Praise,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/31637489/getting-url-of-images-in-google-images-with-google-custom-search-api
yy