with Easy-Peasy.AI and Mamo Business?
Generates AI transcription for a given audio URL. See the documentation
Generate a vanilla or subscription payment link. See the documentation
Generates an AI image based on the given prompt. See the documentation
Generates text outputs for the templates. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_peasy_ai: {
type: "app",
app: "easy_peasy_ai",
}
},
async run({steps, $}) {
const data = {
"audio_type": `podcast`,
"language": `English`,
"name": `Interview with John Doe`,
"detect_speakers": `true`,
"enhanced_quality": `true`,
"url": `https://example.com/audiofile.mp3`,
}
return await axios($, {
method: "post",
url: `https://easy-peasy.ai/api/transcriptions`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"x-api-key": `${this.easy_peasy_ai.$auth.api_key}`,
},
data,
})
},
})
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`,
},
})
},
})