Microlink × Spotify

Interact with
spotify.com

spotify.js
const mql = require('@microlink/mql')

const spotify = async (url, opts) => {
  const result = await mql(url, {
    audio: true,
    ...opts
  })

  return result
}

const result = await spotify(
  'https://open.spotify.com/track/5kn2FMZoBVClbA9CV7w3k5'
)

mql.render(result)