a questo link potete trovare i riferimenti per effettuare delle ricerche di immagini in google con risposta in formato json, qui di seguito un piccolo esempio di classe c# per richiamare tale funzionalità
public class GoogleProxy
{
private string filterSearch = String.Empty;
private int startPage = 0;
private string url = "https://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&q={0}&start={1}";
public GoogleProxy(string filter, int page = 0)
{
filterSearch = filter;
startPage = page;
}
public GoogleSearch Search()
{
string requestUrl = String.Format(url,filterSearch,startPage.ToString());
HttpWebRequest request = WebRequest.Create(requestUrl) as HttpWebRequest;
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
{
var stream = response.GetResponseStream();
var sr = new StreamReader(stream);
var content = sr.ReadToEnd();
JavaScriptSerializer js = new JavaScriptSerializer();
GoogleSearch results = js.Deserialize<GoogleSearch>(content);
return results;
}
}
}
public class GoogleImage
{
public string GsearchResultClass { get; set; }
public string width { get; set; }
public string height { get; set; }
public string imageId { get; set; }
public string tbWidth { get; set; }
public string tbHeight { get; set; }
public string unescapedUrl { get; set; }
public string url { get; set; }
public string visibleUrl { get; set; }
public string title { get; set; }
public string titleNoFormatting { get; set; }
public string originalContextUrl { get; set; }
public string content { get; set; }
public string contentNoFormatting { get; set; }
public string tbUrl { get; set; }
}
public class GooglePage
{
public string start { get; set; }
public int label { get; set; }
}
public class GoogleSearchInfo
{
public string resultCount { get; set; }
public List<GooglePage> pages { get; set; }
public string estimatedResultCount { get; set; }
public int currentPageIndex { get; set; }
public string moreResultsUrl { get; set; }
public string searchResultTime { get; set; }
}
public class GoogleResponse
{
public List<GoogleImage> results { get; set; }
public GoogleSearchInfo cursor { get; set; }
}
public class GoogleSearch
{
public GoogleResponse responseData { get; set; }
public object responseDetails { get; set; }
public int responseStatus { get; set; }
}