with FireCrawl and Api Void?
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
Obtains the status and data from a previous extract operation. See the documentation
Scrapes a URL and returns content from that page. 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,
})
},
})
With the Api Void API, you can build apps that:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api_void: {
type: "app",
app: "api_void",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://endpoint.apivoid.com/iprep/v1/pay-as-you-go/`,
params: {
key: `${this.api_void.$auth.api_key}`,
ip: `{enter_ip_here}`,
},
})
},
})