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