with FlippingBook and Exist?
Generates a new flipbook from an input PDF file. See the documentation
Locates a specific flipbook using the provided title. See the documentation
Edits an existing flipbook by replacing it with a new input PDF file. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flippingbook: {
type: "app",
app: "flippingbook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-tc.is.flippingbook.com/api/v1/auth/me`,
headers: {
Authorization: `Bearer ${this.flippingbook.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
exist: {
type: "app",
app: "exist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://exist.io/api/2/accounts/profile/`,
headers: {
Authorization: `Bearer ${this.exist.$auth.oauth_access_token}`,
},
})
},
})