Livin' On a Prayer Mix
Adipisci quaerat quam addo virga suggero excepturi bos sollers tertius vero apostolus minus tredecim acerbitas.
Overview
playlists / #20
Adipisci quaerat quam addo virga suggero excepturi bos sollers tertius vero apostolus minus tredecim acerbitas.
Livin' On a Prayer Mix
Request
curl example
curl -sS \ "https://example-data.com/api/v1/playlists/20" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/playlists/20" ); 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/20"
);
const playlist = (await res.json()) as Playlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/playlists/20"
)
playlist = res.json() Response
{
"id": 20,
"userId": 151,
"name": "Livin' On a Prayer Mix",
"slug": "livin-on-a-prayer-mix-20",
"description": "Adipisci quaerat quam addo virga suggero excepturi bos sollers tertius vero apostolus minus tredecim acerbitas.",
"songIds": [
1645,
1499,
69,
1513,
393,
145,
1618,
1331,
1305,
1638,
562,
2858,
306,
1010,
1631,
1219,
1949,
981,
1094,
2947,
857,
1734,
109,
2736,
2284,
878,
333,
2841,
90,
760,
1959,
2335,
2033,
739,
1982,
423,
339
],
"isPublic": false,
"coverUrl": "https://picsum.photos/seed/playlist-20/500/500",
"createdAt": "2024-09-01T18:29:47.537Z",
"updatedAt": "2024-09-04T08:08:18.349Z"
}