with Shopify (OAuth) and Vimeo?
Emit new event each time a new video matching the search terms is added.
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Adds a product or products to a custom collection. See the documentation
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
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})