Let's Dance Mix
Conventus tempus soleo vulnero autem.
Overview
playlists / #120
Conventus tempus soleo vulnero autem.
Let's Dance Mix
Request
curl example
curl -sS \ "https://example-data.com/api/v1/playlists/120" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/playlists/120" ); 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/120"
);
const playlist = (await res.json()) as Playlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/playlists/120"
)
playlist = res.json() Response
{
"id": 120,
"userId": 50,
"name": "Let's Dance Mix",
"slug": "lets-dance-mix-120",
"description": "Conventus tempus soleo vulnero autem.",
"songIds": [
482,
1316,
107,
426,
2947,
1480,
1760,
2844,
1930,
1777,
1595,
2822,
579,
191,
427,
2830,
316,
646,
2835,
2927,
1803
],
"isPublic": true,
"coverUrl": "https://picsum.photos/seed/playlist-120/500/500",
"createdAt": "2024-07-25T23:00:13.741Z",
"updatedAt": "2024-08-23T19:14:21.631Z"
}