Node package manager
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 campaign is created. See the documentation
Emit new event when a template is created. See the documentation
Marks a campaign as active or inactive. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_magic_drip: {
type: "app",
app: "the_magic_drip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.themagicdrip.com/v1/campaign`,
headers: {
"x-api-key": `${this.the_magic_drip.$auth.api_key}`,
},
})
},
})