example-data.com
Menu
Browse docs and collections

Overview

courses / #75

Introduction to Statistics

instructorUserId
Marlin Goldner @marlin_goldner6
title
Introduction to Statistics
slug
introduction-to-statistics-75
description
Canis repellat suggero saepe corrumpo comminor quam alter. Compello ventito accusator. Thalassinus tripudio cubo conicio tollo correptius.
category
data
difficulty
beginner
language
German
durationHours
57.3
priceFrom
72.01
currency
USD
thumbnailUrl
https://picsum.photos/seed/course-75/800/450
rating
3.6
ratingCount
2868
enrollmentCount
9880
isPublished
true
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/courses/75" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/courses/75"
);
const course = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/courses.d.ts https://example-data.com/types/courses.d.ts
import type { Course } from "./types/courses";

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

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/courses/75"
)
course = res.json()

Response

{
  "id": 75,
  "instructorUserId": 160,
  "title": "Introduction to Statistics",
  "slug": "introduction-to-statistics-75",
  "description": "Canis repellat suggero saepe corrumpo comminor quam alter. Compello ventito accusator. Thalassinus tripudio cubo conicio tollo correptius.",
  "category": "data",
  "difficulty": "beginner",
  "language": "German",
  "durationHours": 57.3,
  "priceFrom": 72.01,
  "currency": "USD",
  "thumbnailUrl": "https://picsum.photos/seed/course-75/800/450",
  "rating": 3.6,
  "ratingCount": 2868,
  "enrollmentCount": 9880,
  "isPublished": true,
  "createdAt": "2024-07-03T21:37:12.429Z",
  "updatedAt": "2024-09-28T09:30:28.074Z"
}