import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peliqan: {
type: "app",
app: "peliqan",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.peliqan.$auth.api_url}/api/user/me/`,
headers: {
"authorization": `JWT ${this.peliqan.$auth.api_token}`,
},
})
},
})
Peliqan uses API keys for authentication. When you connect your Peliqan account, Pipedream securely stores the keys so you can easily authenticate to Peliqan APIs in both code and no-code steps.