Skip to content

alehic173/SpotifyDiscoverWeeklyProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

SpotifyDiscoverWeeklyProject

The purpose of this project is to save the songs in the "Discover Weekly" playlist that spotify provides each week using Python. Every week this playlist is updated, and the user loses access to the previous weeks' songs. Adding those songs to a different playlist each week will prevent this.

This script connects to and uses the Spotify API.

Here is a quick overview on how this project was accomplished:



Overall Plan

Step One: Implement OAuth to have the users permission to modify the playlsit and make changes.

Step Two: The playlist ID is needed for access. Will use the Request Playlist ID to obtain the ID and Get Playlist Items to get the songs.

Step Three: Add list of songs to a new playlist. First, need to check that the new playlist exists. If it exists, obtain the playlist ID. If not, create the playlist using the Create Playlist request. Add Items to Playlist will be used to add the songs to the playlist.

Step Four: List Discover Weekly track uris and save them to a list. Take that list and add to save weekly playlist.


Necessary Beginning Steps
a Create app in spotify for developers dashboard
b modify redirect url to match server http... +'/redirect'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages