Amara

The Amara Editor is an award-winning caption and subtitle editor that’s free to use! It’s fun and easy to learn, and encourages collaboration.

Integrate the Amara API with the Python API

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

Run Python Code with Python API on Subtitles Published from Amara API
Amara + Python
 
Try it
Run Python Code with Python API on Subtitles Unpublished from Amara API
Amara + Python
 
Try it
Run Python Code with Python API on Video Added from Amara API
Amara + Python
 
Try it
Run Python Code with Python API on Video Deleted from Amara API
Amara + Python
 
Try it
Run Python Code with Python API on Video Made Primary from Amara API
Amara + Python
 
Try it
Subtitles Published from the Amara API

Emit new event when subtitles have been published. See the docs here

 
Try it
Subtitles Unpublished from the Amara API

Emit new event when subtitles have been unpublished. See the docs here

 
Try it
Video Added from the Amara API

Emit new event when a video is added. See the docs here

 
Try it
Video Deleted from the Amara API

Emit new event when a video is deleted. See the docs here

 
Try it
Video Made Primary from the Amara API

Emit new event when a video has been made primary. See the docs here

 
Try it
Add New Subtitles with the Amara API

Add new subtitles. See the docs here

 
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
Add Video with the Amara API

Add a video. See the docs here

 
Try it
Create Subtitle Language with the Amara API

Create a subtitle language. See the docs here

 
Try it
Delete Subtitles with the Amara API

Delete all subtitle versions for a language. See the docs here

 
Try it

Overview of Amara

The Amara API provides programmatic access to Amara’s community-driven subtitle creation and translation services. With this API, you can automate subtitle workflows, streamline video content translation, and integrate with other services to create efficient localization processes. The API allows you to manage videos, subtitles, and teams, offering a doorway to effortlessly scaling your video content to reach global audiences.

Connect Amara

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    amara: {
      type: "app",
      app: "amara",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://amara.org/api/users/teams/`,
      headers: {
        "X-api-key": `${this.amara.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

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}}