Skip to content

benbop/SpotifyPlaylist-alpha

Repository files navigation

SpotifyPlaylist_alpha

This project allows you to transform Spotify playlists to YouTube playlists.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repo.git

Set up Spotify and YouTube API keys:

For Spotify:

  • Go to the Spotify Developer Dashboard.

  • Create a new application to obtain the Client ID and Client Secret.

  • Set environment variables:

  1. export SPOTIFY_CLIENT_ID=your_spotify_client_id
  2. export SPOTIFY_CLIENT_SECRET=your_spotify_client_secret:

For YouTube:

Follow the YouTube API documentation to create a project and obtain an API key.

Set environment variables:

  • export YOUTUBE_API_KEY=your_youtube_api_key:
  • Install .NET SDK:

Follow the instructions here to install the .NET SDK. Run the project:

cd SpotifyPlaylist_alpha dotnet run

Usage

  • Enter the Spotify Playlist ID when prompted.

  • The program will create a new YouTube playlist and add corresponding videos.

Contributing

If you would like to contribute to this project, feel free to open an issue or submit a pull request.