with npm and Membado?
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
Assign tags to or remove them from a user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
membado: {
type: "app",
app: "membado",
}
},
async run({steps, $}) {
const data = {
"apikey": `${this.membado.$auth.api_key}`,
"mail": `sergio@pipekit.com`,
}
return await axios($, {
method: "post",
url: `https://www.membado.io/api/${this.membado.$auth.user_identifier}/add-member`,
headers: {
"content-type": `application/x-www-form-urlencoded`,
},
data,
})
},
})