hubot-archive / hubot-google-images

A hubot script that interacts with the Google Images API
126 stars 66 forks source link

Use deprecated API when API limit reached #22

Closed carsonb closed 9 years ago

carsonb commented 9 years ago

When the quota for requests on the custom search API are reached, fallback to the deprecated one is possible. It's better than nothing!

Resolves #17

HaroldPutman commented 9 years ago

Thanks for this! Resolves #17 How about we indicate that the image search limit has been reached in a chat response. Something like:

@hubot image me ponies Daily image quota exceeded, using alternate source. pony

carsonb commented 9 years ago

Great idea! I've added that notice before switching to the fallback method.

HaroldPutman commented 9 years ago

:+1: