example-data.com
Menu
Browse docs and collections

Overview

playlists / #187

Stormy Weather (Keeps Rainin' All the Time) Mix

Stormy Weather (Keeps Rainin' All the Time) Mix

Amet cibo derelinquo socius agnitio cetera curso crux convoco uberrime vulariter.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 187,
  "userId": 63,
  "name": "Stormy Weather (Keeps Rainin' All the Time) Mix",
  "slug": "stormy-weather-keeps-rainin-all-the-time-mix-187",
  "description": "Amet cibo derelinquo socius agnitio cetera curso crux convoco uberrime vulariter.",
  "songIds": [
    1962,
    2285,
    517,
    2403,
    2098,
    342,
    2090,
    707,
    1972,
    750,
    115,
    813,
    2855,
    1494,
    2590,
    1404,
    1519,
    557,
    1347,
    1390,
    1685,
    1038,
    2448,
    2296,
    2168,
    116,
    776,
    950,
    2597,
    2606,
    831,
    2240,
    1484,
    632
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-187/500/500",
  "createdAt": "2024-12-28T22:07:11.416Z",
  "updatedAt": "2025-01-25T23:33:33.491Z"
}