This Twitter Bot replies to any tweet with the hashtag #marmomood. It searches for matches with tags on songs in the Marmoset catalog, like "upbeat" or "electronic." It then returns the top ranked song matching those criteria, with a link to play it on the Marmoset website. If no matches are found, it searches song titles and artist names and returns the top ranked match. Finally, if there are still no results, it returns one of the top 10 Marmoset songs at random.
- Clone the repo
- Make sure you have Python 2.7 and pip installed
- Install all the required packages with pip
- Add your environment variables (API keys, etc.) to os.environ
- Run
python application.py
from the terminal
The BASE_URL
for the Marmoset API is https://www.marmosetmusic.com
.
Python, AWS for deployment
MIT License
Copyright (c) 2016 Moof Mayeda