with Dolibarr and Vybit?
Triggers a vybit, with optional customizations available. See the documentation
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}`,
},
})
},
})
The Vybit API allows you to create and manage notifications with custom sounds. Using this API on Pipedream opens up possibilities for integrating audio notifications into a variety of workflows. You can dynamically generate alerts based on triggers from numerous apps, streamlining the way users receive and acknowledge important information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vybit: {
type: "app",
app: "vybit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.vybit.net/rest/vybits`,
headers: {
"Content-Type": `application/json`,
"Accept": `application/json`,
"Accept-Charset": `utf-8`,
"Authorization": `${this.vybit.$auth.oauth_access_token}`,
},
})
},
})