SWAPI - Star Wars

The Star Wars API

Go to site

Integrate the SWAPI - Star Wars API with the Discord Webhook API

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

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it
Return Random Character Name
 
Try it
Get People Resource

A people resource is an individual person or character within the Star Wars universe.

 
Try it
Get Film Resource

A film resource is a single film.

 
Try it
Get Planet Resource

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

 
Try it

Connect SWAPI - Star Wars

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

Connect Discord Webhook

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