Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.07 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.07 KB

Marmo Twitter Bot

Python project to respond to Twitter searches for songs from the Marmoset catalog.

By Moof Mayeda

Description

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.

Setup/Installation Requirements

  • 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.

Technologies Used

Python, AWS for deployment

License

MIT License

Copyright (c) 2016 Moof Mayeda