with npm and Yay.com?
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
Emit new event when a contact is added to a phone book. See the documentation
Initiates an outbound call to a specified number. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yay_com: {
type: "app",
app: "yay_com",
}
},
async run({steps, $}) {
const data = {
"a": `h`,
}
return await axios($, {
url: `https://${this.yay_com.$auth.api_hostname}/authenticated`,
headers: {
"x-auth-reseller": `${this.yay_com.$auth.reseller}`,
"x-auth-user": `${this.yay_com.$auth.user}`,
"x-auth-password": `${this.yay_com.$auth.password}`,
},
data,
})
},
})