Translate text instantly or in batches across more than 100 languages, powered by the latest innovations in machine translation
Go to siteimport { 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`
},
})
},
})
Microsoft Azure AI Translator uses API keys for authentication. When you connect your Microsoft Azure AI Translator account, Pipedream securely stores the keys so you can easily authenticate to Microsoft Azure AI Translator APIs in both code and no-code steps.
To retrieve your API Key, Location, and Endpoint,