with PushEngage and WbizTool?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushengage: {
type: "app",
app: "pushengage",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.pushengage.com/apiv1/notifications`,
headers: {
"api-key": `${this.pushengage.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wbiztool: {
type: "app",
app: "wbiztool",
}
},
async run({steps, $}) {
const data = {
"client_id": `${this.wbiztool.$auth.api_client_id}`,
"api_key": `${this.wbiztool.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://wbiztool.com/api/v1/me/`,
data,
})
},
})