Udemy API Integration Docs - Krishna Apps

Simplify your development process with our comprehensive Udemy API integration documentation.

  • Home
  • Premium API
  • Udemy API Integration Docs - Krishna Apps

    Integrating KrishnaApps Udemy API


    1. API Overview

    The KrishnaApps Udemy API allows you to access course data using an API key.


    KrishnaApps Udemy API Endpoints

    Base URL

    • 2. Base URL: https://krishnaapps.com/api

    Endpoints

    • Get All Courses
      • Endpoint: GET /udemy/courses/{api_key}
      • Description: Retrieves a list of all courses.
      • Example: https://krishnaapps.com/api/udemy/courses/{api_key}
    • Get Featured Courses
      • Endpoint: GET /udemy/courses/featured/{api_key}
      • Description: Retrieves a list of featured courses.
      • Example: https://krishnaapps.com/api/udemy/courses/featured/{api_key}
    • Get Course by Slug
      • Endpoint: GET /udemy/{slug}/{api_key}
      • Description: Retrieves details of a specific course using the course slug.
      • Example: https://krishnaapps.com/api/udemy/c-plus-plus-programming-beginners/{api_key}
    • Get All Categories
      • Endpoint: GET /udemy/categories/{api_key}
      • Description: Retrieves a list of all categories.
      • Example: https://krishnaapps.com/api/udemy/categories/{api_key}
    • Get Courses by Category Slug
      • Endpoint: GET /udemy/{category_slug}/courses/{api_key}
      • Description: Retrieves a list of courses within a specific category.
      • Example:
    • Download Course Video By ID
      • Endpoint: GET /udemy/download/{downloadId}/{api_key}
      • Description: Retrieves a list of course video download links.
      • Example: https://filflix.net/fileid/file
    • All Courses Endpoint: GET https://krishnaapps.com/api/udemy/courses/{api_key}

    3. Prerequisites

    • Obtain an API key by purchasing it from Buy Udemy API Key. The API key is valid for 30 days.

    PHP Integration Using cURL

    Step 1: Initialize a cURL Session

  • API Response Overview


    When you make a request to the KrishnaApps Udemy API, the response will include an array of course objects. Each course object contains the following properties:

    Course Object Properties

    • courseDownloadId
      • Type: integer
      • Description: The id to download the course video.
      • Example: "hhttps://example.com/courseDownloadId/file"
    • title
      • Type: String
      • Description: The title of the course.
      • Example: "C++ Programming for Beginners (2023)"
    • slug
      • Type: String
      • Description: A URL-friendly version of the course title.
      • Example: "c-plus-plus-programming-beginners"
    • description
      • Type: String
      • Description: Detailed description of the course, including HTML tags.
      • Example: "Are you an absolute beginner looking forward to kickstart your journey in the programming domain..."
    • objectives
      • Type: String (JSON-encoded array)
      • Description: The learning objectives of the course.
      • Example: "[\"Programming Fundamentals & Concepts\",\"Converting Logic into C++ Code\",...]"
    • prerequisites
      • Type: String (JSON-encoded array)
      • Description: The prerequisites needed before taking the course.
      • Example: "[\"No Pre-requisites\",\"Passion to learn coding\"]"
    • targetAudiences
      • Type: String (JSON-encoded array)
      • Description: The intended audience for the course.
      • Example: "[\"Beginners looking forward to start learning programming\",...]"
    • shortDescription
      • Type: String
      • Description: A brief description of the course.
      • Example: "Enter the world of computer science, learn to code and solve problems using C++"
    • image
      • Type: String
      • Description: URL to the course image.
      • Example: "http://192.168.1.5:8000/assets/images/courses/c-plus-plus-programming-beginners-1714025740.avif"
    • categoryId
      • Type: String
      • Description: The ID of the course category.
      • Example: "2"
    • duration
      • Type: String
      • Description: Duration of the course.
      • Example: "19.5 hours"
    • lectures
      • Type: String
      • Description: Number of lectures in the course.
      • Example: "200"
    • views
      • Type: String
      • Description: Number of views for the course.
      • Example: "73"
    • tags
      • Type: String
      • Description: Tags associated with the course.
      • Example: "programming, freecourse, udemy, education, courses, learning, free course, c-plus-plus"
    • authorName
      • Type: String
      • Description: Name of the course author.
      • Example: "Prateek Narang"
    • authorImage
      • Type: String
      • Description: URL to the author's image.
      • Example: "https://img-c.udemycdn.com/user/100x100/44965456_4ef0_4.jpg"
    • authorUrl
      • Type: String
      • Description: URL to the author's Udemy profile.
      • Example: "https://www.udemy.com/user/some-user/"
    • featured
      • Type: Boolean
      • Description: Indicates if the course is featured.
      • Example: 1 or 0
    • createdAt
      • Type: String
      • Description: The date and time when the course was created.
      • Example: "2024-04-25T11:45:40.000000Z"
    • updatedAt
      • Type: String
      • Description: The date and time when the course was last updated.
      • Example: "2024-04-25T11:46:06.000000Z"
    Note:- Please be aware that there is a limit on the number of API requests you can make per minute. To avoid any disruption or potential suspension of your account, please refrain from making excessive requests. Thank you for your understanding and cooperation!