example-data.com
Menu
Browse docs and collections

Overview

playlists / #171

All My Lovin' (You're Never Gonna Get It) Mix

All My Lovin' (You're Never Gonna Get It) Mix

Magnam crepusculum thymum in supplanto animus laboriosam sum carbo tenax.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/playlists/171"
);
const playlist = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/playlists/171"
);
const playlist = (await res.json()) as Playlist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/playlists/171"
)
playlist = res.json()

Response

{
  "id": 171,
  "userId": 42,
  "name": "All My Lovin' (You're Never Gonna Get It) Mix",
  "slug": "all-my-lovin-youre-never-gonna-get-it-mix-171",
  "description": "Magnam crepusculum thymum in supplanto animus laboriosam sum carbo tenax.",
  "songIds": [
    1601,
    890,
    1196,
    853,
    2144,
    406,
    636,
    2016,
    2163,
    106,
    1305,
    1340,
    1232,
    824,
    1336,
    2954,
    933,
    1870,
    462,
    744,
    101,
    2198,
    1992,
    1205,
    186,
    2385
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-171/500/500",
  "createdAt": "2025-10-07T10:00:46.566Z",
  "updatedAt": "2025-10-15T06:30:56.463Z"
}