with Globalping and Connecteam?
Removes a specific shift based on shift ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
globalping: {
type: "app",
app: "globalping",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.globalping.io/v1/limits`,
headers: {
Authorization: `Bearer ${this.globalping.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
connecteam: {
type: "app",
app: "connecteam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.connecteam.com/me`,
headers: {
"X-API-KEY": `${this.connecteam.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})