Skip to content

A reddit bot using python that interacts with Youtube and Spotify API to output a table with Eminem's songs/album stats

Notifications You must be signed in to change notification settings

thebadcoder96/Eminem_Reddit_BOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Bot that displays Eminem songs stats from Spotify and Youtube

This is a reddit bot that will search for any Eminem song or album and give you the link and some statistics for a song pulled from the Spotify API and Youtube Data API v3 as the reply message. This bot is currently only monitoring r/Eminem, r/Music, and r/hiphopheads.

Motivation

I love Reddit, I love Eminem and I love Python! So I combined all of them to program an account to reply with the data from Spotify and YouTube of any Eminem songs :)

Frameworks

  • PRAW - Framework build on top of Reddit API.
  • Spotipy - Library for the Spotify Web API.
  • google-api-python-client - Library to acess Youtube Data API.

How to use

Simply comment '!song' or '!album' followed by the song or album you would like to search anywhere on r/Eminem, r/Music, and r/hiphopheads. For example:

!song Survival or !album Kamikaze

You can learn more about the bot and the Spotify analysis here.

How to run

  • Install required packages by pip install -r requirements.txt.
  • PRAW, spotipy, google-api-python-client are the main libraries used.
  • Must have a reddit account. Visit the apps page to get your client_id and client_secret.
  • Must also have an Spotify account to get the client_id and client_secret for spotify as well.
  • Please enter the credentials in the praw.ini file.

About

A reddit bot using python that interacts with Youtube and Spotify API to output a table with Eminem's songs/album stats

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages