Skip to content

berkaycagir/song-of-the-hour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

song of the hour

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.

Dependencies

  • a recent version of Python 2 with requests and tweepy
  • a scheduled command daemon
  • Twitter and Spotify accounts (obviously)

Installation

  1. Clone the repository to your computer.
  2. Download the words.txt file from sindresorhus/word-list.
  3. Enter the required information in spotify.py. To obtain Spotify's tokens, you have to go through their authorization process, outlined here.
  4. Configure your scheduled command daemon to run spotify.py with the desired interval.
  5. Done!

Contribution

Pull requests are welcomed.

License

You can do whatever you want under the MIT license. See the LICENSE file for more information.

Releases

No releases published

Packages

No packages published

Languages