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
Create a new employee record. See the documentation
Creates a new leave request. See the documentation
Retrieve a complete list of employees. See the documentation
Retrieves all leave requests. See the documentation
Get all time tracking records, 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:
POSThttps://api.buddee.nl/auth/tokenPOSThttps://api.buddee.nl/auth/tokenaccept: application/jsonrefresh_token={{custom_fields.refresh_token}}