ucfopen / canvasapi

Python API wrapper for Instructure's Canvas LMS. Easily manage courses, users, gradebooks, and more.
https://pypi.python.org/pypi/canvasapi
MIT License
554 stars 173 forks source link

Use `new_quizzes` and `graphql` keywords #653

Closed bennettscience closed 4 months ago

bennettscience commented 4 months ago

Based on #612 and as an issue in #619, this adds the new_quizzes and graphql keyword endpoints in the requester module. Methods which specify these locations will have the correct URL supplied by the library in the _url parameter for the requester.

Calls from the canvas, course, and new_quizzes modules have been updated to use they keywords rather than a formatted URL string.

All tests passing.

Fixes #619.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c1e8556) to head (228de80).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #653 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 73 73 Lines 3732 3740 +8 ========================================= + Hits 3732 3740 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.