with Microsoft Azure AI Translator and Dub?
Identifies the positioning of sentence boundaries in a piece of text. See the documentation
Identifies the language of a piece of text. See the documentation
Translate text into the specified language. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_azure_ai_translator: {
type: "app",
app: "microsoft_azure_ai_translator",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.microsoft_azure_ai_translator.$auth.endpoint}/languages`,
headers: {
"Ocp-Apim-Subscription-Key": `${this.microsoft_azure_ai_translator.$auth.api_key}`,
"Ocp-Apim-Subscription-Region": `${this.microsoft_azure_ai_translator.$auth.location}`,
"Content-Type": `application/json`,
},
params: {
"api-version": `3.0`
},
})
},
})
The Dub API lets you automate the creation and management of personalized video messages. Pipedream’s platform simplifies the process of setting up triggers and actions to interact with the Dub API. You can automate video generation, distribution, and track engagement with ease. Customize your workflow to sync with CRMs, communication platforms, or data analysis tools for a powerful, streamlined video outreach process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dub: {
type: "app",
app: "dub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dub.co/me`,
headers: {
Authorization: `Bearer ${this.dub.$auth.api_key}`,
},
})
},
})