with BambooHR and Plainly?
Creates a render job for a video template. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Fetches a list of available video templates in a project in the user's Plainly account. See the documentation
BambooHR is a comprehensive human resources information system (HRIS) that allows businesses to manage employee data, track time off, run reports, and integrate with other services. With its API, users on Pipedream can automate various HR tasks, sync employee data across platforms, and trigger workflows based on events like new hires, time-off requests, or updates to employee details.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bamboohr: {
type: "app",
app: "bamboohr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bamboohr.com/api/gateway.php/${this.bamboohr.$auth.company_domain}/v1/meta/users`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.bamboohr.$auth.api_key}`,
password: `x`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})