with CalendarHero and Vincario?
Emit new event when a selected type of CalendarHero event occurs. See the documentation
Get the user's meetings within a timeframe. See the documentation
CalendarHero's API on Pipedream enables you to craft tailored scheduling experiences by automating meeting setups, reminders, and follow-ups. Imagine the convenience of automating meeting coordination among various stakeholders, synchronizing schedules across platforms, and triggering actions based on meeting events. With CalendarHero and Pipedream, you can create powerful workflows that respond dynamically to your calendar activities, ensuring you spend less time managing meetings and more time engaging in them.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
calendarhero: {
type: "app",
app: "calendarhero",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.calendarhero.com/user`,
headers: {
"Authorization": `${this.calendarhero.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform";
import crypto from "crypto";
export default defineComponent({
props: {
vincario: {
type: "app",
app: "vincario",
}
},
async run({ steps, $ }) {
const apiKey = this.vincario.$auth.api_key;
const secretKey = this.vincario.$auth.secret_key;
const id = "info"
const vin = "XXXDEF1GH23456789".toUpperCase(); //or set your own VIN
const controlSum = crypto.createHash('sha1')
.update(`${vin}|${id}|${apiKey}|${secretKey}`).digest('hex')
.substring(0, 10);
return await axios($, {
url: `https://api.vindecoder.eu/3.2/${apiKey}/${controlSum}/decode/info/${vin}.json`,
method: "GET"
});
},
})