with npm and SmashSend?
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
Create a new contact or update an existing contact. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smashsend: {
type: "app",
app: "smashsend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smashsend.com/v1/api-keys/check`,
headers: {
Authorization: `Bearer ${this.smashsend.$auth.api_key}`,
},
})
},
})