First of all, go to http://monkeymusicchallenge.com, sign up and get your API key.
For this starter kit, you will need basic knowledge of:
Make sure to have the requests library installed on your system.
We recommend installing packages using pip.
Also, if you run into trouble, make sure to use Python 2.7 or newer.
Start by forking this repository to your own GitHub user.
Then, open up a terminal and:
git clone [email protected]:<username>/python-starter-kit.git
cd python-starter-kit
pip install requests
python main.py <your-team-name> <your-api-key>
These are all UNIX commands. Got Windows? We recommend Cygwin.
Make sure to surf to your team page before running the above commands...
Your monkey is waiting for you!
main.py
contains the boilerplate needed to communicate with the server. You should not need to change anything in here unless we have done something wrong.
We suggest you go straight to ai.py
and start playing around with the code.
Remember, your mission is to:
- guide your monkey through the warmup level
- pick up all the music items
- get them to the eagerly awaiting Spotify user
Have fun!
When you find bugs in our code, please submit an issue or pull request to our original starter kit repository.