Tested with
Python 2.7, OS X 10.11.3 El Capitan, Apache Spark 1.6.0 & Hadoop 2.6
Download Apache Spark and build it or download the pre-built version.
#!/usr/bin/env python3 | |
# encoding: utf-8 | |
""" | |
I saw a similar script on the homepage of Miguel Grinberg (the Flask book guy), | |
but he was using webscraping. Here I use simple API calls instead. | |
The script takes the presentations of a Python conference and orders the | |
presentations in descending order by the number of youtube views. It | |
is an indicator about the popularity of a video. |
Tested with
Python 2.7, OS X 10.11.3 El Capitan, Apache Spark 1.6.0 & Hadoop 2.6
Download Apache Spark and build it or download the pre-built version.