We've setup a JSON API that lists all of the courses on our courses page and their details. You can use this API to list OpenLearning courses on your website. 

API Method (GET):

curl -f https://www.openlearning.com/api/courses/list?type=free,paid

GET Parameters:

type

Any combination of the following (separated by a comma)

  • free
  • paid
  • private

Example Output:

{
    "courses": [
       {
            "category": "Business and Economics",
            "courseUrl": "https://www.openlearning.com/courses/GlobalEntrepreneurship",
            "creator": {
                "fullName": "Mushtak Al-Atabi",
                "imageUrl": "https://openlearning-cdn.s3.amazonaws.com/mushtak-avatar-48-ts1364656940.jpg",
                "karma": 9625,
                "profileUrl": "https://www.openlearning.com/u/mushtak"
            },
            "duration": "0 weeks",
            "image": "https://openlearning-cdn.s3.amazonaws.com/course__courses_GlobalEntrepreneurship__course-promo-image-1396145983.12.jpg",
            "name": "Global Entrepreneurship",
            "price": 0,
            "promoMediaUrl": "https://www.youtube.com/watch?v=OcMKdi0NyDI",
            "selfPaced": true,
            "startDate": null,
            "summary": "<p class=\"course-summary\">Entrepreneurship is a way of thinking and a frame of mind that can be learnt and cultivated. It is not only about making money but more about making a difference and transforming the world.\u00a0</p>\n<p class=\"course-summary\">Global Entrepreneurship, is a collaborative course between Taylor's University, Open Learning and Pozible. The course aims at unleashing the potential of everyone participating. Students\u00a0will be working\u00a0on real entrepreneurial projects, in teams of students from other parts of the world. Students will be using crowd funding techniques to realise projects that will have a global positive impact. Get ready to change the world!</p>\n<p><strong>Cost:</strong> FREE</p>",
            "type": "free"
        },
        {
            "category": "Education",
            "courseUrl": "https://www.openlearning.com/courses/gamify",
            "creator": {
                "fullName": "Tom Benjamin",
                "imageUrl": "https://openlearning-cdn.s3.amazonaws.com/tom.benjamin-avatar-48-ts1363056606.jpg",
                "karma": 76,
                "profileUrl": "https://www.openlearning.com/u/tom.benjamin"
            },
            "duration": "6 weeks",
            "image": "https://openlearning-cdn.s3.amazonaws.com/course__courses_gamify__course-promo-image-1371443018.jpg",
            "name": "Games in Education: Gamification",
            "price": 0,
            "promoMediaUrl": "https://openlearning-cdn.s3.amazonaws.com/course__courses_gamify__course-landing-image-1371443351.jpg",
            "selfPaced": true,
            "startDate": "30 Jun 2013",
            "summary": "The principles in this course did not originate in a computer lab but, rather, from the acute neurological and psychiatric care wards of large hospitals.   \r\n\r\nThus this course presents general principles of gamification that can be applied to the full range of the learning spectrum, ranging from  people with severe disabilities through to post-graduate and professional development applications",
            "type": "free"
        }
    ]
}

 

Comments