get course list API functionality