with Mamo Business and Amara?
Emit new event when a payment is charged.
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 Mamo Business API offers capabilities for organizations to manage payments and financial tasks. With the API, you can create and oversee invoices, process payments, and handle transfers among other operations. Integrating Mamo Business with Pipedream allows you to automate workflows involving payment processing, financial monitoring, and syncing transaction data with other business systems. Use it to streamline how money moves into and out of your organization, ensuring accurate financial records while saving time on manual tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mamo_business: {
type: "app",
app: "mamo_business",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mamo_business.$auth.environment}.mamopay.com/manage_api/v1/me`,
headers: {
Authorization: `Bearer ${this.mamo_business.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
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`,
},
})
},
})