with StoryScale and Epsy?
Emit new event when a new tour is created. See the documentation
Emit new event when a tour gets published. See the documentation
Get the results of the lookup with the provided ID. See the documentation
The StoryScale API enables the creation, management, and retrieval of storytelling content. Integrated within Pipedream's ecosystem, you can automate interactions with the StoryScale API to streamline content workflows, react to events, and sync data across various platforms. Pipedream's serverless platform simplifies the process of setting up event-driven workflows, making it straightforward to harness the capabilities of the StoryScale API without writing complex infrastructure code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storyscale: {
type: "app",
app: "storyscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prodapi.storyscale.com/api/v1/user/profile`,
headers: {
Authorization: `Bearer ${this.storyscale.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
epsy: {
type: "app",
app: "epsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://irbis.espysys.com/api/request-monitor/credit-stat`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
},
params: {
key: `${this.epsy.$auth.api_key}`,
},
})
},
})