- Go to https://developer.spotify.com/my-applications/ and create a new app.
- In the
Redirect URI
field, addhttp://localhost:19331/callback
, and save. This will whitelist the callback URL used by this app. - Create a
.env
file that looks like this:
SPOTIFY_ID=################################
SPOTIFY_SECRET=################################
using the Client ID
and Client Secret
values provided by Spotify.
In your terminal, run this:
./run.sh -artist "Tchami"
This script will fetch Go packages, build the project, source the variables in the .env
file, and run.