with Storeganise and Toggl Track?
Emit new event when a new invoice is created in Storeganise.
Emit new event when a unit rental is created in Storeganise
Emit new event when a time entry is started. See docs here
Emit new event when a time entry is created. See docs here
Adds a payment to the targeted invoice. See the documentation
Marks the selected invoice as paid in Storeganise. See the documentation
Get the time entry that is running now. [See docs here]https://developers.track.toggl.com/docs/api/time_entries#get-get-current-time-entry)
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storeganise: {
type: "app",
app: "storeganise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.storeganise.$auth.subdomain}.storeganise.com/api/v1/sites`,
headers: {
"Authorization": `ApiKey ${this.storeganise.$auth.api_key}`,
},
})
},
})
Toggl Track is a time tracking API that lets you start, stop, and manage timers and time entries, as well as manage projects, clients, and tasks associated with time records. With the Toggl Track API on Pipedream, you can automate time tracking activities, synchronize data across platforms, and generate insights from time tracking data to improve productivity and project management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
toggl: {
type: "app",
app: "toggl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.track.toggl.com/api/v9/me`,
auth: {
username: `${this.toggl.$auth.api_token}`,
password: `api_token`,
},
})
},
})