with Pipedream Connect and Rippling?
Emit new event when a new worker is created in Rippling. See the documentation
Retrieves a list of all companies from Rippling. See the documentation
Retrieves a list of all workers from Rippling. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pipedream_connect: {
type: "app",
app: "pipedream_connect",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pipedream.com/v1/apps`,
headers: {
Authorization: `Bearer ${this.pipedream_connect.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rippling: {
type: "app",
app: "rippling",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.ripplingapis.com`,
headers: {
Authorization: `Bearer ${this.rippling.$auth.api_key}`,
},
})
},
})