with verifi.email and Noor?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
verifi_email: {
type: "app",
app: "verifi_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.verifi.email/check`,
params: {
token: `${this.verifi_email.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
noor: {
type: "app",
app: "noor",
}
},
async run({steps, $}) {
const data = {
"spaceId": `${this.noor.$auth.space_id}`,
}
return await axios($, {
method: "post",
url: `https://sun.noor.to/api/v0/getSpaceMembers`,
headers: {
Authorization: `Bearer ${this.noor.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})