with Picqer and Bright Data?
Emit new event when Picqer sends a webhook matched with selected event. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
picqer: {
type: "app",
app: "picqer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.picqer.$auth.subdomain}.picqer.com/api/v1/users`,
auth: {
username: `${this.picqer.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bright_data: {
type: "app",
app: "bright_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.brightdata.com/customer/balance`,
headers: {
Authorization: `Bearer ${this.bright_data.$auth.api_key}`,
},
})
},
})