tasdikrahman / vocabulary

[Not Maintained anymore] Python Module to get Meanings, Synonyms and what not for a given word
https://vocabulary.readthedocs.io/en/latest/
MIT License
560 stars 76 forks source link

Fix for requests to Wordnik API #59

Closed tenorz007 closed 6 years ago

tenorz007 commented 6 years ago

Fix #58

The wordnik API is case-sensitive, so sending a request with an uppercase word would always fail.

Fix is to ensure regardless of user-input, the phrase is converted to lowercase before request is then sent to the API

tenorz007 commented 6 years ago

@tasdikrahman Hey, do look into this, it fixes an issue!

tasdikrahman commented 6 years ago

Hey @tenorz007, sorry for the delay. Looks good, merging it! Thanks for contributing :)