Python

Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.

Go to site

Integrate the Python API with the GitHub API

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

Connect Python

from pipedream.script_helpers import (steps, export)

# Reference data from previous steps
print(steps["trigger"]["context"]["id"])

# Return data for use in future steps
export("foo", {"test":True})

Connect GitHub

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