with actiTIME and Scrapfly?
Emit new event when a new customer is created. See the documentation
Emit new event when a new task is created. See the documentation
Emit new event when the user's working time is updated. See the documentation
Automate content extraction from any text-based source using AI, LLM, and custom parsing. See the documentation
Retrieve current subscription and account usage details from Scrapfly. See the documentation
Changes the existing leave time record with a given value in actiTIME. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
actitime: {
type: "app",
app: "actitime",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.actitime.$auth.url}/api/v1/users`,
auth: {
username: `${this.actitime.$auth.email}`,
password: `${this.actitime.$auth.password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapfly: {
type: "app",
app: "scrapfly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapfly.io/scrape`,
params: {
key: `${this.scrapfly.$auth.api_key}`,
url: `https://pipedream.com`,
render_js: `true`,
asp: `true`,
},
})
},
})