You can get a client id and secret by creating an app at Spotify.
You will need to add https://www.quizsonic.com/ as a redirect URL and allow "Web API" and "Web Playback SDK"s.