with Harvest and VideoAsk?
Creates a new time entry object. Create a time entry via duration documentation, Create a time entry via start and end time documentation
Harvest is a time tracking and invoicing tool that can streamline the way freelancers and businesses record time for various projects and tasks. By leveraging the Harvest API on Pipedream, you can automate complex workflows that integrate time tracking data with other business tools. Generate reports, sync project data, and manage invoices with minimal manual intervention. Pipedream's serverless platform lets you create these automations using simple, code-driven components, enabling a seamless connection between Harvest and a multitude of other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
harvest: {
type: "app",
app: "harvest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://id.getharvest.com/api/v2/accounts`,
headers: {
Authorization: `Bearer ${this.harvest.$auth.oauth_access_token}`,
"User-Agent": `Pipedream (pipedream.com)`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
videoask: {
type: "app",
app: "videoask",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.videoask.com/me`,
headers: {
"Authorization": `Bearer ${this.videoask.$auth.api_token}`,
},
})
},
})