Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
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.
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}`,
},
})
},
})