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