Created
          July 24, 2020 04:46 
        
      - 
      
- 
        Save jramnai/e7bc81242910abf8d912e4c895a08afb to your computer and use it in GitHub Desktop. 
    Get open edX course from modulestore
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from xmodule.modulestore.django import modulestore | |
| from opaque_keys.edx.keys import CourseKey | |
| course_id = 'course-v1:edX+DemoX+Demo_Course' | |
| course = modulestore().get_course(CourseKey.from_string(course_id)) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment