with npm and Orderspace?
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 an inventory level is updated
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
orderspace: {
type: "app",
app: "orderspace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.orderspace.com/v1/customers`,
headers: {
Authorization: `Bearer ${this.orderspace.$auth.oauth_access_token}`,
},
params: {
limit: `20`,
},
})
},
})