CloudBotIRC / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
273 stars 250 forks source link

Issue with the 'dictionary command. The command spits up the error "Error reaching ninjawords.com: 502" #116

Closed evelynharthbrooke closed 9 years ago

evelynharthbrooke commented 9 years ago

The service that the 'dictionary command uses has been down for the past few days, and I was wondering if the service could be changed to something else, such as http://www.dictionary.com or something similar, as I unfortunately don't see Ninjawords coming back up anytime soon.

Wordnik seems like a good candidate instead: http://developer.wordnik.com/

edwardslabs commented 9 years ago

http://developer.wordnik.com/ looks promising. According to their terms say that free api keys are limited to 15,000 queries per hour. They do word of the day, random words, definitiions and entymology. I have requested an API key. If things work as advertised this api could replace word of the day, entymology.

The other option is http://www.dictionaryapi.com/ but that only returns XML and I would much rather deal with JSON.

evelynharthbrooke commented 9 years ago

@edwardslabs fixed the issue in PR #123, so I'm closing the issue now.