with FireCrawl and Google Marketplace?
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_marketplace: {
type: "app",
app: "google_marketplace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/${this.google_marketplace.$auth.application_id}`,
headers: {
Authorization: `Bearer ${this.google_marketplace.$auth.oauth_access_token}`,
},
})
},
})