Skip to content

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

Notifications You must be signed in to change notification settings

moofmayeda/marmotwitterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages