import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buddee: {
type: "app",
app: "buddee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.buddee.nl/users`,
headers: {
Authorization: `Bearer ${this.buddee.$auth.oauth_access_token}`,
},
})
},
})
Emit new event when an employee is updated in the system. See the documentation
Emit new event when a new employee is added to the system. See the documentation
Emit new event when a new leave request is created in the system. See the documentation
Emit new event when a new time registration is created in the system. See the documentation
Buddee uses OAuth authentication. When you connect your Buddee account, Pipedream will open a popup window where you can sign into Buddee and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Buddee API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://api.buddee.nl/auth/token
POST
https://api.buddee.nl/auth/token
accept: application/json
refresh_token={{custom_fields.refresh_token}}