with Amara and Transifex?
Emit new event when a resource language is completely translated, reviewed, or filled up by TM or MT.
Emit new event when the strings of a task are fully translated.
Emit new event when subtitles have been published. See the docs here
Emit new event when subtitles have been unpublished. See the docs here
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.
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`,
},
})
},
})
Transifex is a powerful cloud-based platform designed to help teams manage multilingual content effectively. With the Transifex API, you can automate the syncing of translations, manage localization projects, and streamline communication between developers and translators. Integrating Transifex with Pipedream allows you to connect your localization workflow with other services like GitHub, Slack, or email providers, enhancing productivity and reducing manual work.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transifex: {
type: "app",
app: "transifex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.api.transifex.com/organizations`,
headers: {
Authorization: `Bearer ${this.transifex.$auth.api_token}`,
"Accept": `application/vnd.api+json`,
},
})
},
})