with Dolibarr and Mumble?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dolibarr: {
type: "app",
app: "dolibarr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.dolibarr.$auth.domain}/api/index.php/users/info`,
headers: {
"accept": `application/json`,
"dolapikey": `${this.dolibarr.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mumble: {
type: "app",
app: "mumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mumble.co.il/mumbleapi/get-labels`,
headers: {
"mumble-api-key": `${this.mumble.$auth.api_key}`,
},
})
},
})