Pioneering the Connected Operations Cloud to increase the efficiency, safety & sustainability of the operations that power the global economy.
Go to siteimport { 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}`,
},
})
},
})
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.
Samsara uses API keys for authentication. When you connect your Samsara account, Pipedream securely stores the keys so you can easily authenticate to Samsara APIs in both code and no-code steps.