wardellbagby / HangoutsBot

Python 3 Bot for Hangouts
GNU General Public License v3.0
38 stars 25 forks source link

Google Deprecated Image Query API #43

Closed NicholasMoser closed 8 years ago

NicholasMoser commented 8 years ago

Hello,

I noticed that the image and gif commands currently do not work, apparently due to the full deprecation of Google's image query API. You can test it by visiting an example URL:

https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=fuzzy%20monkey

I found documentation here: https://developers.google.com/image-search/v1/jsondevguide#prereqs

It mentions the deprecation and redirects you to the following: https://developers.google.com/custom-search/

I don't know much about how this new service works and I plan on investigating it myself, but I wanted to alert you to the deprecation in case you were not already aware. Regardless, thanks for making this, I've gotten a lot of use out of it and really like it :)

Edit: I also plan to investigate other potential image searching APIs, such as DuckDuckGos https://duckduckgo.com/api

NicholasMoser commented 8 years ago

To update this, I eventually ended up using Google's custom search which requires some setup on their website. They now have API limits to prevent abuse, but it was reasonable enough that it didn't impair the small use I had it for. https://cse.google.com/cse/all