with npm and Cogmento?
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 new contact is added in Cogmento. See the documentation
Emit new event when a new deal is created in Cogmento. See the documentation
Emit new event when a new task is created in Cogmento. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cogmento: {
type: "app",
app: "cogmento",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cogmento.com/api/1/auth/user/`,
headers: {
"accept": `application/json`,
"authorization": `Token ${this.cogmento.$auth.oauth_access_token}`,
},
})
},
})