import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zapr_link: {
type: "app",
app: "zapr_link",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zapr.link/status/${this.zapr_link.$auth.session_id}`,
headers: {
"accept": `application/json`,
},
})
},
})
zapr.link uses API keys for authentication. When you connect your zapr.link account, Pipedream securely stores the keys so you can easily authenticate to zapr.link APIs in both code and no-code steps.