def get_course_nickname(self, course):
from canvasapi.course import CourseNickname<EOL>course_id = obj_or_id(course, "<STR_LIT>", (Course,))<EOL>response = self.__requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(course_id)<EOL>)<EOL>return CourseNickname(self.__requester, response.json())<EOL>
Return the nickname for the given course.

:calls: `GET /api/v1/users/self/course_nicknames/:course_id \
<https://canvas.instructure.com/doc/api/users.html#method.course_nicknames.show>`_

:param course: The object or ID of the course.
:type course: :class:`canvasapi.course.Course` or int

:rtype: :class:`canvasapi.course.CourseNickname`