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 a job is completed on a Samsara route.
Adds a new address to the organization. The user must provide the necessary props such as formatted address, geofence, and name. See the documentation
Generates a new route to an existing address. As a prerequisite, the user must create an address using the 'create-address' action if the location is not already available in the address book. The user must provide the necessary props such as destination address.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
samsara: {
type: "app",
app: "samsara",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.samsara.$auth.base_url}/users`,
headers: {
Authorization: `Bearer ${this.samsara.$auth.api_token}`,
},
})
},
})