SWAPI - Star Wars

The Star Wars API

Go to site

Integrate the SWAPI - Star Wars API with the Zoom Admin API

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

Connect SWAPI - Star Wars

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    swapi: {
      type: "app",
      app: "swapi",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://swapi.dev/api/films/1/`,
    })
  },
})

Connect Zoom Admin

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    zoom_admin: {
      type: "app",
      app: "zoom_admin",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.zoom.us/v2/users/me`,
      headers: {
        Authorization: `Bearer ${this.zoom_admin.$auth.oauth_access_token}`,
      },
    })
  },
})