code: def get_detail(self, course_id):
          
          # the request is done in behalf of the current logged in user
          resp = self._requester.get(
              urljoin(
                  self._base_url,
                  '/api/courses/v1/courses/{course_key}/'.format(course_key=course_id)
              )
          )
  
          resp.raise_for_status()
  
          return CourseDetail(resp.json())
docs: Fetches course details.
  
          Args:
              course_id (str): An edx course id.
  
          Returns:
              CourseDetail