Based on the book by Toby Segaran (2007). Algorithms, API, Data extraction and analysis.