MoDeck

Create video templates in After Effects, make them editable online by anyone. You control the creative, let your team control the content.

Integrate the MoDeck API with the Python API

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

Run Python Code with Python API on New Render Completed from MoDeck API
MoDeck + Python
 
Try it
New Render Completed from the MoDeck API

Emit new event when a render is completed.

 
Try it
Create Render with the MoDeck API

Create a new edit with the data supplied. See the documentation

 
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 MoDeck

The MoDeck API offers an interface for managing playlists and videos within their platform, providing endpoints for various operations like retrieving video details, updating playlists, or managing users. Integrating MoDeck with Pipedream allows you to automate interactions with your MoDeck data, such as syncing playlists, updating video statuses, or triggering actions based on video analytics. With Pipedream's serverless platform, you can build powerful workflows that react to events in real-time, schedule tasks, and connect MoDeck with hundreds of other services.

Connect MoDeck

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    modeck: {
      type: "app",
      app: "modeck",
    }
  },
  async run({steps, $}) {
    const data = {
      "apiKey": `${this.modeck.$auth.api_key}`,
    }
    return await axios($, {
      method: "POST",
      url: `https://api.modeck.io/listdecks`,
      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}}