Flask RESTful API tutorial from http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask