Changing the World Through Learning Empower lifelong learners and career growth to drive innovation at your company.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})