spot-track
A simple library to be used in demos. Grabs the preview url from Spotify's search API endpoint for a given track name.
Usage
const SpotTrack = const s = 'YOUR_SPOTIFY_CLIENT_ID' 'YOUR_SPOTIFY_CLIENT_SECRET' { try const track = await s console catch err console }