Skip to content

Dimi-G/Spotify_birthday_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A python script that scrapes the content of Billboard Charts for a given date and creates a Spotify playlist with these songs. Ideal for a birthday gift to your friends.

Developed during Angela Yu's class 100 Days of Code.

Setup

  1. Create a virtual environment: python -m venv myproject_env
  2. Activate the virtual environment
  3. Install dependencies: pip install -r requirements.txt

Python version 3.12.3

How to

  • You need a Spotify account for this
  • Fork the Github project and clone the forked repository to your local machine using the git clone command
  • Create a .env file in the project to store your environmental login values
  • Go to the Spotify developer dashboard, create an app and copy the Client ID and Client Secret to your .env file
  • Use the Spotipy documentation to authenticate your project access to your Spotify. You will need to call the get_token function for the first time that you do this:
token = get_token(CLIENT_ID, CLIENT_SECRET)
print(token)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages