with FireCrawl and Xverify?
Crawls a given URL and returns the contents of sub-pages. See the documentation
Extract structured data from one or multiple URLs. See the documentation
Obtains the status and data from a previous crawl operation. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firecrawl: {
type: "app",
app: "firecrawl",
}
},
async run({steps, $}) {
const data = {
"url": "https://pipedream.com",
}
return await axios($, {
method: "post",
url: `https://api.firecrawl.dev/v0/crawl`,
headers: {
Authorization: `Bearer ${this.firecrawl.$auth.api_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xverify: {
type: "app",
app: "xverify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xverify.com/v2/ev`,
params: {
api_key: `${this.xverify.$auth.api_key}`,
domain: `${this.xverify.$auth.domain}`,
email: `test@test.com`,
},
})
},
})