with Hubstaff and Microsoft Teams Events?
Creates a new task on your Hubstaff organization. See the documentation
Retrieves a list of all tasks from your Hubstaff organization. See the documentation
Update a specific task within your Hubstaff organization. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubstaff: {
type: "app",
app: "hubstaff",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubstaff.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.hubstaff.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams_events: {
type: "app",
app: "microsoft_teams_events",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams_events.$auth.oauth_access_token}`,
},
})
},
})