Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get grades for a course #2

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

FatemeKhodayari
Copy link
Contributor

This PR implements the API call to /api/grades/v1/courses/{course_id}/ which returns grades available for a course. Results can be fetched for a specific user by providing the username query parameter. This API call returns the final grade, passed status, course_id, username and email for each user.

In case a user isn't fully enrolled in the course, a requests.exceptions.HTTPError: 404 Client Error: Not Found will be raised. Note that even if the user is in the allowed enrollments of the course, you'll still receive a 404.

@angonz angonz merged commit 9477f19 into aulasneo:master Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants