import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memento_database: {
type: "app",
app: "memento_database",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mementodatabase.com/v1/libraries`,
params: {
token: `${this.memento_database.$auth.api_token}`,
},
})
},
})
Memento Database uses API keys for authentication. When you connect your Memento Database account, Pipedream securely stores the keys so you can easily authenticate to Memento Database APIs in both code and no-code steps.