example-data.com

courses / #40

instructorUserId
30
title
Modern Machine Learning
slug
modern-machine-learning-40
description
Ipsam solus eaque amoveo. Et cernuus veritas.
category
data
difficulty
advanced
language
Japanese
durationHours
35.7
priceFrom
21.69
currency
USD
thumbnailUrl
https://picsum.photos/seed/course-40/800/450
rating
4.6
ratingCount
1384
enrollmentCount
3974
isPublished
true
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/courses/40" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/courses/40"
);
const course = await res.json();
import type { Course } from "https://example-data.com/types/courses.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/courses/40"
);
const course = (await res.json()) as Course;
import requests

res = requests.get(
    "https://example-data.com/api/v1/courses/40"
)
course = res.json()
{
  "id": 40,
  "instructorUserId": 30,
  "title": "Modern Machine Learning",
  "slug": "modern-machine-learning-40",
  "description": "Ipsam solus eaque amoveo. Et cernuus veritas.",
  "category": "data",
  "difficulty": "advanced",
  "language": "Japanese",
  "durationHours": 35.7,
  "priceFrom": 21.69,
  "currency": "USD",
  "thumbnailUrl": "https://picsum.photos/seed/course-40/800/450",
  "rating": 4.6,
  "ratingCount": 1384,
  "enrollmentCount": 3974,
  "isPublished": true,
  "createdAt": "2024-12-07T13:55:22.675Z",
  "updatedAt": "2025-01-11T18:56:35.412Z"
}
Draftbit