with RedCircle API and Sylius?
The RedCircle API enables podcasters to manage their shows, episodes, and analytics programmatically. Through Pipedream, you can harness this API to create custom workflows, integrating podcast operations with other apps and services. Automate tasks like uploading new episodes, syncing analytics data, or triggering marketing campaigns when a new episode goes live. With Pipedream's serverless platform, you can build these automations without managing infrastructure, leaning on Pipedream's vast app ecosystem and event-driven architecture.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
redcircle_api: {
type: "app",
app: "redcircle_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.redcircleapi.com/request`,
params: {
api_key: `${this.redcircle_api.$auth.api_key}`,
type: `search`,
search_term: `cell phones`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sylius: {
type: "app",
app: "sylius",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sylius.$auth.api_url}/api/v2/shop/product-variants`,
headers: {
Authorization: `Bearer ${this.sylius.$auth.oauth_access_token}`,
"accept": `application/ld+json`,
},
params: {
page: `1`,
itemsPerPage: `30`,
},
})
},
})