Patreon

Patreon is the best place for creators to build memberships by providing exclusive access to their work and a deeper connection with their communities.

Integrate the Patreon API with the Python API

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

Run Python Code with Python API on Member Created from Patreon API
Patreon + Python
 
Try it
Run Python Code with Python API on Member Deleted from Patreon API
Patreon + Python
 
Try it
Run Python Code with Python API on New Pledge Received from Patreon API
Patreon + Python
 
Try it
Run Python Code with Python API on Post Published from Patreon API
Patreon + Python
 
Try it
Member Created from the Patreon API

Emit new event for each created member

 
Try it
Member Deleted from the Patreon API

Emit new event for each deleted member

 
Try it
New Pledge Received from the Patreon API

Emit new event for each received pledge

 
Try it
Post Published from the Patreon API

Emit new event for published post

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it

Overview of Patreon

Pipedream's integration with the Patreon API enables creators to automate interactions with their patrons, manage memberships, and streamline content delivery. By leveraging Pipedream's ability to connect with hundreds of apps, creators can set up custom workflows that trigger actions based on Patreon events, like new pledges, or that perform regular tasks, like sending messages to patrons.

Connect Patreon

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import axios from "axios"

export default defineComponent({
  props: {
    patreon: {
      type: "app",
      app: "patreon",
    }
  },
  async run({steps, $}) {
    const resp = await axios({
      url: `https://www.patreon.com/api/oauth2/v2/identity?fields%5Buser%5D=email,full_name`,
      headers: {
        Authorization: `Bearer ${this.patreon.$auth.oauth_access_token}`,
        "Content-Type": `application/x-www-form-urlencoded`,
      },
    })
    return resp.data
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}