def get_course(self, course, use_sis_id=False, **kwargs):
if use_sis_id:<EOL><INDENT>course_id = course<EOL>uri_str = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>course_id = obj_or_id(course, "<STR_LIT>", (Course,))<EOL>uri_str = '<STR_LIT>'<EOL><DEDENT>response = self.__requester.request(<EOL>'<STR_LIT:GET>',<EOL>uri_str.format(course_id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return Course(self.__requester, response.json())<EOL>
Retrieve a course by its ID.

:calls: `GET /api/v1/courses/:id \
<https://canvas.instructure.com/doc/api/courses.html#method.courses.show>`_

:param course: The object or ID of the course to retrieve.
:type course: int, str or :class:`canvasapi.course.Course`
:param use_sis_id: Whether or not course_id is an sis ID.
    Defaults to `False`.
:type use_sis_id: bool

:rtype: :class:`canvasapi.course.Course`