with Vimeo and Google Cloud Translate?
Adds an existing video to a user's album/showcase on Vimeo. See the documentation
Permanently deletes a video from the user's Vimeo account. This action can't be undone. See the documentation
Uploads a video to the user's Vimeo account. Ensure you have enough storage quota on your account. See the documentation
The Vimeo API equips you to interact programmatically with the Vimeo platform, allowing you to manage videos, users, and albums. With Pipedream, you can choreograph this functionality into automation, integrating Vimeo's capabilities with countless other services. Pipedream's serverless platform streamlines the process of setting up event-driven workflows, custom reactions to video uploads, or even coordinating marketing efforts that hinge on your video content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vimeo: {
type: "app",
app: "vimeo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vimeo.com/me`,
headers: {
Authorization: `Bearer ${this.vimeo.$auth.oauth_access_token}`,
},
})
},
})
The Google Cloud Translate API empowers developers to dynamically translate text between thousands of language pairs, integrate language translation into applications, websites, tools, and other solutions. By leveraging this API within Pipedream's serverless platform, you can create automated workflows that respond to events from hundreds of sources, transforming and routing your data to various destinations, all while breaking down language barriers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_cloud_translate: {
type: "app",
app: "google_cloud_translate",
}
},
async run({steps, $}) {
const data = {
"q": `¡hola mundo!`,
"target": `en`,
}
return await axios($, {
method: "post",
url: `https://translation.googleapis.com/language/translate/v2?key=${this.google_cloud_translate.$auth.api_key}`,
headers: {
"Content-Type": `application/json; charset=utf-8`,
},
data,
})
},
})