with ContentGroove and Microsoft Azure AI Translator?
Emit new event when a media is done processing by ContentGroove.
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
The ContentGroove API offers functionality for managing and automating content-related tasks. Within Pipedream, you can harness this API to create workflows that trigger on various events, process data, and connect to other services. Think about automating content dissemination, analyzing audience engagement, or syncing content across platforms. With Pipedream's serverless architecture, these workflows can run on demand, on a schedule, or in response to specific events, providing a powerful way to streamline your content management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentgroove: {
type: "app",
app: "contentgroove",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.contentgroove.com/api/v1/clips`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.contentgroove.$auth.api_key}`,
},
})
},
})
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`
},
})
},
})