15

I want to display the first image on google search in my website against a keyword. I would really like some pointers in this direction.

Thank you!

darthsidious
  • 2,851
  • 3
  • 19
  • 30
  • 1
    And is for javascript, not android. – Leandro Bardelli Jan 31 '18 at 23:20
  • Request the image with the URL from images (search the words and grab the url edit the "q" parameter) as so: "https://www.google.com/search?q="+searchImage+"&source=lnms&tbm=isch&sa=X" Fetch it with AJAX and the result – Crazy Alien Dec 21 '18 at 11:05

1 Answers1

5

See following links:

Google’s Custom Search API now supports image-only results

Google Image Search API

Pratik Butani
  • 60,504
  • 58
  • 273
  • 437