song of the hour is a Twitter bot that posts random songs from Spotify every hour. The bot uses a word list from sindresorhus/word-list, Spotify Web API, and Twitter API through tweepy.
- a recent version of Python 2 with requests and tweepy
- a scheduled command daemon
- Twitter and Spotify accounts (obviously)
- Clone the repository to your computer.
- Download the
words.txt
file from sindresorhus/word-list. - Enter the required information in
spotify.py
. To obtain Spotify's tokens, you have to go through their authorization process, outlined here. - Configure your scheduled command daemon to run
spotify.py
with the desired interval. - Done!
Pull requests are welcomed.
You can do whatever you want under the MIT license. See the LICENSE
file for more information.