with Connecteam and QR API?
Removes a specific shift based on shift ID. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qr_api: {
type: "app",
app: "qr_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://qrapi.io/v2/qrcode/url`,
headers: {
"accept": `image/png`,
},
params: {
apikey: `${this.qr_api.$auth.api_key}`,
url: `https://pipedream.com`,
},
})
},
})