A sample app that uses MediaWiki Action API's Image and Imageinfo modules to display the Wikipedia Picture of the Day. This app uses Flask. Browse the app here.
$ git clone https://github.com/wikimedia/mediawiki-api-demos
$ cd mediawiki-api-demos/apps/picture-of-the-day-viewer
$ pip install -r requirements.txt
Install the necessary python modules with pip
$ python3 app.py