with npm and DitLead?
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 events according to the selected event types. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ditlead: {
type: "app",
app: "ditlead",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ditlead.com/v1/apikey/validate`,
headers: {
Authorization: `Bearer ${this.ditlead.$auth.api_key}`,
},
})
},
})