example-data.com
Menu
Browse docs and collections

Overview

playlists / #159

Hanky Panky Mix

Hanky Panky Mix

Volutabrum ars ara audax bibo vicinus cometes consuasor bene subito attollo abeo.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/playlists/159"
);
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/159"
);
const playlist = (await res.json()) as Playlist;

Python example

import requests

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

Response

{
  "id": 159,
  "userId": 103,
  "name": "Hanky Panky Mix",
  "slug": "hanky-panky-mix-159",
  "description": "Volutabrum ars ara audax bibo vicinus cometes consuasor bene subito attollo abeo.",
  "songIds": [
    525,
    579,
    2743,
    2305,
    178,
    891,
    335,
    1356,
    171,
    2311,
    495,
    1407,
    663,
    1256,
    1368,
    2348,
    1542,
    2813,
    2048,
    2145,
    2482,
    1652,
    1037
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-159/500/500",
  "createdAt": "2026-01-26T21:21:45.809Z",
  "updatedAt": "2026-02-15T15:12:30.365Z"
}