with Demandbase and Storyblok?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
demandbase: {
type: "app",
app: "demandbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.insideview.com/api/v1/admin/usage`,
headers: {
"accesstoken": `${this.demandbase.$auth.oauth_access_token}`,
"accept": `application/json`,
},
params: {
period: `year`,
start: `2023`,
end: `2025`,
},
})
},
})
The Storyblok API opens a channel to manage and deliver content dynamically, allowing developers to automate content-related workflows and integrate with other services. Using the API on Pipedream, you can create, update, and retrieve content from Storyblok, and connect these actions with hundreds of other apps for seamless content operations. This can streamline content management, facilitate omnichannel publishing, and enable real-time content updates in various frontend applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storyblok: {
type: "app",
app: "storyblok",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.storyblok.com/v1/cdn/stories`,
params: {
token: `${this.storyblok.$auth.token}`,
},
})
},
})