with npm and Momentum AMS?
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
Get data for the client with the specified ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
momentum_ams: {
type: "app",
app: "momentum_ams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.nowcerts.com/api/AgentList?$count=true&$orderby=firstName desc&$skip=0&$top=5`,
headers: {
Authorization: `Bearer ${this.momentum_ams.$auth.oauth_access_token}`,
},
})
},
})