What do you want to automate with npm and HARPA AI?
Prompt, edit and deploy AI agents that connect to npm, HARPA AI and 2,500+ other apps in seconds. Trusted by 1,000,000+ developers from startups to Fortune 500 companies Run AI Command with HARPA AI API on New Download Counts from npm API
Try it Scrape Web Page with HARPA AI API on New Download Counts from npm API
Try it Search the Web with HARPA AI API on New Download Counts from npm API
Try it Run AI Command with HARPA AI API on New Package Version from npm API
Try it Scrape Web Page with HARPA AI API on New Package Version from npm API
Try it Load more
New Download Counts from the npm API
Try it New Package Version from the npm API
Try it Run AI Command with the HARPA AI API
Try it Scrape Web Page with the HARPA AI API
Try it Search the Web with the HARPA AI API
Try it Integrate the npm API with the HARPA AI API
Setup the npm API trigger to run a workflow which integrates with the HARPA AI API. Pipedream's integration platform allows you to integrate npm and HARPA AI remarkably fast. Free for developers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent ( {
props : {
harpa_ai : {
type : "app" ,
app : "harpa_ai" ,
}
} ,
async run ( { steps, $} ) {
const data = {
"action" : "scrape" ,
"url" : "https://harpa.ai/blog" ,
"grab" : [ { "selector" : ".PostList__postTitle" , "at" : "all" , "label" : "data" } ] ,
"node" : "4wwg"
}
return await axios ( $, {
method : "post" ,
url : ` https://api.harpa.ai/api/v1/grid ` ,
headers : {
Authorization : ` Bearer ${ this . harpa_ai. $auth. api_key} ` ,
"content-type" : ` application/json ` ,
} ,
data,
} )
} ,
} )
Trusted by 1,000,000+ developers from startups to Fortune 500 companies