(Two packages needed: mwviews and matplotlib)
- This script accepts two arguments.
- Argument one is the wiki project<wiki.wiki(m/p)edia>.
- Arguement two is the name of the article or page.
- turn graphing on by removing the # in front of drawgraph(graph).
$ python pageviewapi.py commons.wikimedia File:Dog.png
Get pageviews for wikipedia articles