with Vimeo and Weglot?
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 Weglot API allows for real-time translation of website content, simplifying the process of making a website multilingual. On Pipedream, you can use the Weglot API to craft workflows that automate translation tasks, manage language databases, or even synchronize content across different platforms. This API could be a game changer for businesses looking to globalize their online presence without the manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
weglot: {
type: "app",
app: "weglot",
}
},
async run({steps, $}) {
const data = {
"l_from": `en`,
"l_to": `fr`,
"words": [
{"w":"This is a blue car", "t": 1},
{"w":"This is a black car", "t": 1}
],
"request_url": `https://www.test.com`,
}
return await axios($, {
method: "post",
url: `https://api.weglot.com/translate`,
headers: {
"Content-Type": `application/json`,
},
params: {
api_key: `${this.weglot.$auth.api_key}`,
},
data,
})
},
})