C# project to export in csv spotify user's playlist
Source code analysed with DeepSource and Codacy
Version: v1.1.0
- .NET Framework / .NET 10.0 >= .NET 10
- VS 2026
-
You need to create an application on spotify in this link
-
Click on create an app
- Set app name:
Addams - Set app description:
C# tool to export spotify playlist
- Set app name:
-
Click into your app created then get value of
Client IDandClient Secret
You will get something like this
IMPORTANT: You can delete your app in this link
-
You can download the
Addams Applicationby this link -
Install it and launch
Addams.exe -
First you need to setup configuration (user account, client id and secret of spotify application)

-
Then you can authentify your spotify application into Addams like below

After the first authentication, the token renewal itself like this, if not click on
AuthenticateinSettingstab
- Then you have multiple actions like export and/or show playlists, change configuration of application



- You need to create a spotify app developer
if you want to test with postman you need to add this redirect uri
https://oauth.pstmn.io/v1/callback
- Clone repository
git clone git@github.com:NY-Daystar/Addams.git- Open VS 2022 ->
Open project or solution - Select
Addams.sln - Rebuild solution
- F5 to launch project in Debug mode
You can activate git hooks with this command
git config --global core.hooksPath .githooksThe project setup an OAUTH2 token with your spotify app credentials to execute spotify api request
- Official guide in spotify
- Authentication guide
- Use authorization code with PKCE
- To understand redirect uri changes
Once all data fetched we create a csv for each playlist with track's data:
Track Name: Name of the trackArtist Name(s): List of artist (separated by|)Album Name: Name of the albumAlbum Artist Name(s): Album's artists (separated by|)Album Release Date: Release date of the album (YYYY-MM-DD)Disc Number: If album has multiple discTrack Duration: Time duration of the track (minutes:seconds)Track Number: Number of the track in the albumExplicit: If track is explicit or not (True or False)Added At: Datetime when you add this track in your playlistTrack Uri: Spotify url of the trackArtist Url: Spotify url of the artistAlbum Uri: Spotify url of the albumAlbum Image Url: Url image of the album
You can run unit tests in Addams.Tests project
To get a proper setup : https://learn.microsoft.com/en-us/visualstudio/deployment/installer-projects-net-core?view=visualstudio&viewFallbackFrom=vs-2019
- To make a pull request: https://github.com/NY-Daystar/addams/pulls
- To summon an issue: https://github.com/NY-Daystar/addams/issues
- For any specific demand by mail: luc4snoga@gmail.com
Made by Lucas Noga.
Licensed under Apache.




