This recipe depends on the third-party Python bottlenose library. You can install this library using pip, as shown in the following command:
$ pip install bottlenose
First, you need to place your Amazon account's access key, secret key, and affiliate ID into local_settings.py. A sample settings file is provided with the book code. You can also edit this script and place it here as well.