SWAPI - Star Wars

The Star Wars API

Go to site

Integrate the SWAPI - Star Wars API with the MySQL API

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

Popular Ways to Connect SWAPI - Star Wars with MySQL

1
-
6
of
7
integrations by popularity

Popular SWAPI - Star Wars and MySQL Triggers

1
-
5
of
5
triggers by popularity

Popular SWAPI - Star Wars and MySQL Actions

1
-
6
of
6
actions by popularity

Connect SWAPI - Star Wars

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://swapi.dev/api/films/1/`,
})

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)