import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
libraria: {
type: "app",
app: "libraria",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.libraria.dev/me`,
headers: {
Authorization: `Bearer ${this.libraria.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
Libraria uses API keys for authentication. When you connect your Libraria account, Pipedream securely stores the keys so you can easily authenticate to Libraria APIs in both code and no-code steps.
To retrieve your API Key and Library ID,