fojas / cleverbot-node

Cleverbot client in node.js
MIT License
62 stars 33 forks source link

fixed uc again, untested #29

Closed deansheather closed 7 years ago

deansheather commented 7 years ago

Seems that Cleverbot changed their uc value again, this time to something that seems to be telling developers to use the official API. Hopefully they don't do something that prevents devs from using the webservicemin endpoint in the future.

deansheather commented 7 years ago

I suggest that cleverbot-node should add a deprecation warning in the next patch, it seems like Cleverbot really doesn't want people using this unofficial API they use for the website.

Developers should migrate to cleverbot.io or another similar service, the unofficial Cleverbot API is causing some issues for some big Discord bots.

fojas commented 7 years ago

Cleverbot now has an official API, which should probably be used. http://www.cleverbot.com/api/. I will add a deprecation warning along with this patch. This will make this the last release of cleverbot-node.

fojas commented 7 years ago

The official API seems pretty straightforward. I can work on a new version that updates to the official API

fojas commented 7 years ago

I have made 2 new versions to handle this change. Version 0.2.8 is using the unnofficial API and contains the changes from this PR. Version 0.3.1 is the new version using the official API.

Thanks!