with Shoprocket and Gistly?
The Shoprocket API empowers you to seamlessly integrate e-commerce capabilities into your website or app. With Pipedream, you can connect Shoprocket to hundreds of other services to automate tasks like syncing orders to a database, updating inventory in real-time, or triggering custom email campaigns when a new product is added. Pipedream's serverless platform allows for building custom workflows that can react to various Shoprocket events, manipulate the data, and interact with numerous APIs and services without the hassle of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shoprocket: {
type: "app",
app: "shoprocket",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shoprocket.io/v1/team`,
headers: {
"x-api-key": `${this.shoprocket.$auth.api_key}`,
},
})
},
})
Gistly API allows you to fetch transcripts or subtitles from YouTube videos in various formats. It's a powerful tool for integrating video content into your applications, enabling you to process and analyze video transcripts programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gistly: {
type: "app",
app: "gistly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gist.ly/health`,
headers: {
"x-api-key": `${this.gistly.$auth.api_key}`,
},
})
},
})