← SWAPI - Star Wars

Get Film with SWAPI - Star Wars API

Pipedream makes it easy to connect APIs for SWAPI - Star Wars and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get Film with the SWAPI - Star Wars API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get Film with the SWAPI - Star Wars API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get Film action
    1. Connect your SWAPI - Star Wars account
    2. Select a film
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Get Film with SWAPI API on New Requests from HTTP / Webhook API
HTTP / Webhook + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on New Item in Feed from RSS API
RSS + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on New Message from Discord API
Discord + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on New Message In Channels from Slack API
Slack + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on New Message in Channel from Discord Bot API
Discord Bot + SWAPI - Star Wars
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Get Film on SWAPI - Star Wars
Description:Get a film
Version:0.0.13
Key:swapi-get-film

Code

const swapi = require("../../swapi.app.js");
const axios = require("axios");

module.exports = {
  key: "swapi-get-film",
  name: "Get Film",
  version: "0.0.13",
  description: "Get a film",
  type: "action",
  props: {
    swapi,
    film: {
      propDefinition: [
        swapi,
        "film",
      ],
    },
  },
  async run() {
    return (await axios({
      url: `https://swapi.dev/api/films/${this.film}`,
    })).data;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
SWAPI - Star WarsswapiappThis component uses the SWAPI - Star Wars app.
filmstringSelect a value from the drop down menu.

Authentication

The SWAPI - Star Wars API does not require authentication.

About SWAPI - Star Wars

The Star Wars API