import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
miyn: {
type: "app",
app: "miyn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://calendar.miyn.app/zapier.php`,
params: {
api_key: `${this.miyn.$auth.api_key}`,
},
})
},
})
Miyn uses API keys for authentication. When you connect your Miyn account, Pipedream securely stores the keys so you can easily authenticate to Miyn APIs in both code and no-code steps.