Changing the World Through Learning Empower lifelong learners and career growth to drive innovation at your company.
Degreed provides an API that lets you access Degreed data and content in order
to create new applications and services. Here are some examples of what you can
build using the Degreed API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
degreed: {
type: "app",
app: "degreed",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.${this.degreed.$auth.base_url}/api/v2/users/me`,
headers: {
Authorization: `Bearer ${this.degreed.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})