I'm trying to write a utility with Node.js and Express that would use the Spotify API. However, I'm stuck trying to figure out the best way to use the "Client Credentials Flow" with Express to get an access token to use the API...
I did some research and Spotify gives this example (in the link below) but it seems rather outdated with the "request" library being used?
https://github.com/spotify/web-api-auth-examples/blob/master/client_credentials/app.js
I've been seeing things like Axios and stuff, but I'm kind of new to all of this and don't know how or where to even look...