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
Adds a new subscriber to your mailing list. See the documentation
Updates information for an existing subscriber in your mailing list. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailblaze: {
type: "app",
app: "mailblaze",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://control.mailblaze.com/api/general`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.mailblaze.$auth.api_key}`,
},
params: {
fields: `account_name,total_subscribers`,
},
data,
})
},
})