This project is a Go application that leverages the Spotify and YouTube APIs to manage music and video content. Users can search for music on Spotify, create playlists, and upload and update videos on YouTube.
Follow these instructions to get the project up and running on your local machine.
- Go (version 1.x)
- A Spotify Developer account and a YouTube Developer account
-
Clone this repository.
-
Fill in the
.env
file with your own Spotify and YouTube API keys. See.envExample
for an example.SPOTIFY_CLIENT_ID = <your_spotify_client_id> SPOTIFY_CLIENT_SECRET = <your_spotify_client_secret> YOUTUBE_CREDENTIALS_JSON = <your_youtube_credentials_json>
-
Install dependencies:
go mod tidy
-
Run the application:
go run main.go
Once the application is running, you can perform various operations on Spotify and YouTube. For example, you can create a playlist on Spotify or upload a video to YouTube.