import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapegraphai: {
type: "app",
app: "scrapegraphai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapegraphai.com/v1/credits`,
headers: {
"sgai-apikey": `${this.scrapegraphai.$auth.api_key}`,
},
})
},
})
Extract content from HTML content using AI by providing a natural language prompt and the HTML content. See the documentation
Convert any webpage into clean, readable Markdown format. See the documentation
Extract content from a webpage using AI by providing a natural language prompt and a URL. See the documentation.
ScrapeGraphAI uses API keys for authentication. When you connect your ScrapeGraphAI account, Pipedream securely stores the keys so you can easily authenticate to ScrapeGraphAI APIs in both code and no-code steps.