Using API to get which courses is the student enrolled in
Ka.M.925
Posts: 5 🔍
in Development
I have a small webapp that I want students from Brightspace LMS to use for their courses. The app is supposed to display different data based on each course the student is enrolled in. My idea of implementing that was to include the URL for the app in the course page, then when a student clicks it, it redirects them to the app and the app checks using D2L API which course the student is from and acts accordingly. I'm not sure if this is possible as I wasn't able to find related posts about it.
Thanks in advance.
Thanks in advance.
Answers
-
Hi Ka.M.
Thank you for asking this question. Have a look at the following documentation. I hope that will help.Thank you
-
Thanks for the help, however I'm still not sure how to use that retrieve what courses the student is enrolled in. I was looking through the documentation and I found that "(for example, the actions you’d use to find the courses a user is enrolled in are associated more directly with the enrollment and course resources)." stated in the Users page.
I may be doing it wrong, so I will just elaborate more. The goal is, the student clicks on the webapp, it redirects for OAuth and after that the backend gets an access token. What I want is after this step, is to check what courses the user is in.