Favorite

class canvasapi.favorite.Favorite(requester, attributes)
Parameters:
  • requester (canvasapi.requester.Requester) – The requester to pass HTTP requests through.

  • attributes (dict) – The JSON object to build this object with.

remove(**kwargs)

Remove a course or group from the current user’s favorites.

Calls:
Course:

DELETE /api/v1/users/self/favorites/courses/:id

Group:

DELETE /api/v1/users/self/favorites/groups/:id

Return type:

canvasapi.favorite.Favorite