with OpenPerplex and Ashby?
Get a screenshot of a website using Openperplex. See the documentation
Queries content from a specific URL using Openperplex. See the documentation
Perform a simple search using Openperplex. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openperplex: {
type: "app",
app: "openperplex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://node.apiopenperplex.com/get_website_text`,
headers: {
"x-api-key": `${this.openperplex.$auth.api_key}`,
},
params: {
url: `https://pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ashby: {
type: "app",
app: "ashby",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ashbyhq.com/user.list`,
headers: {
"accept": `application/json; version=1`,
"content-type": `application/json`,
},
auth: {
username: `${this.ashby.$auth.api_key}`,
password: ``,
},
})
},
})