Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
a way (preferably in C#) to upload thousands of images to Google Images, and replace each with a higher resolution if Google finds higher resolution for that pic? (basic code snippet to upload image and get result is enough)
Posted

1 solution

Officially, you need to use the Google Custom Search API, which allows limited number of searches for free, and has fees above that.
See https://developers.google.com/custom-search/json-api/v1/overview[^] for more information.

Doing it through a http call would require scraping the results, can only be done if your images are reachable by URL, and is far too complicated to put in a 'basic code snippet'. Not to mention that it's a violation of Google's Terms of Service and will get your IP blocked soon.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900