with npm and Billbee?
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
Add a shipment to an existing order. See the documentation
Create an invoice for an existing order. See the documentation
Retrieve a specific order by its ID from Billbee. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billbee: {
type: "app",
app: "billbee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.billbee.io/api/v1/shopaccounts`,
headers: {
"accept": `application/json`,
"x-billbee-api-key": `${this.billbee.$auth.api_key}`,
},
auth: {
username: `${this.billbee.$auth.username}`,
password: `${this.billbee.$auth.api_password}`,
},
params: {
page: `1`,
pageSize: `10`,
},
})
},
})