Node package manager
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 fresh data is available for a specific collection.
Creates a new expense category in UpBooks. See the documentation
Records an outward payment in UpBooks. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
upbooks: {
type: "app",
app: "upbooks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.upbooks.io/api/v1/client`,
headers: {
Authorization: `Bearer ${this.upbooks.$auth.oauth_access_token}`,
"API-KEY": `${this.upbooks.$auth.api_key}`,
"Organization-ID": `${this.upbooks.$auth.organization_id}`,
},
})
},
})