Spotify

Music streaming

Go to site

Integrate the Spotify API with the MySQL API

Setup the Spotify API trigger to run a workflow which integrates with the MySQL API. Pipedream's integration platform allows you to integrate Spotify and MySQL remarkably fast. Free for developers.

Popular Ways to Connect Spotify with MySQL

1
-
6
of
7
integrations by popularity

Popular Spotify and MySQL Triggers

1
-
6
of
8
triggers by popularity

Popular Spotify and MySQL Actions

1
-
6
of
38
actions by popularity

Connect Spotify

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.spotify.com/v1/me`,
  headers: {
    Authorization: `Bearer ${auths.spotify.oauth_access_token}`,
  },
})

Connect MySQL

const mysql = require('mysql2/promise');

const { host, port, username, password, database } = auths.mysql

const connection = await mysql.createConnection({
  host,
  port,
  user: username,
  password,
  database,
});

const [rows, fields] = await connection.execute('SELECT NOW()');
console.log(rows)