Learn the Watson API solution


I completed the
Learn the Watson API
It was more harder than others because the sample code is outdated.
I would like to share a working code, maybe it is help anyone else…

Link to Repl or GitHub
On Repl I needed to modify also the pyproject.toml file: the twitter = "^1.18.0" dependency must to change to python-twitter = "^3.5"

On my local environment I used the twitter package without any error but on Repl the code is works only with python-twitter package,

1 Like