CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.55k stars 7.85k forks source link

Fixing the deprecated API calls #390

Open jamescategory opened 6 years ago

jamescategory commented 6 years ago

The current script doesn't work with latest version of PRAW. The API calls such as get_subreddit() and get_top() are deprecated and no longer supported and throw errors. I changed the script a bit to make it work with latest changes.