Get first image from google [closed]
Asked Answered
G

1

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!

Gushy answered 6/5, 2014 at 4:39 Comment(2)
And is for javascript, not android.Merete
Request the image with the URL from images (search the words and grab the url edit the "q" parameter) as so: "google.com/…" Fetch it with AJAX and the resultMasochism
S
5

See following links:

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

Google Image Search API

Silkaline answered 6/5, 2014 at 4:46 Comment(2)
Now is deprecated and in legacyMerete
2018 Update: This might help developers.google.com/custom-search/docs/tutorial/…Lurdan

© 2022 - 2024 — McMap. All rights reserved.