with Microsoft Graph API (daemon app) and FlippingBook?
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: {
microsoft_graph_api_daemon_app: {
type: "app",
app: "microsoft_graph_api_daemon_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/users`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api_daemon_app.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})