Skip to content

netteNz/spotify-liked-songs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This code defines four functions:

  • get_spotify_client(): This function takes your Spotify API credentials as input and returns a Spotify client that you can use to make API requests.

  • get_liked_songs(): This function takes a Spotify client as input and retums a list of the liked songs in your account.

  • save_liked_songs_to_file(): This function takes a list of tracks and a file path as input, and saves the song names and artists of the tracks to the specified file, one song per line.

  • main(): This function contains the main logic of the program. It retrieves your liked songs, saves them to a text file, and prints "Done!".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages