example-data.com

songs / #51

Que sera sera (Whatever will be will be)

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/songs/51" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/songs/51"
);
const song = await res.json();
import type { Song } from "https://example-data.com/types/songs.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/songs/51"
);
const song = (await res.json()) as Song;
import requests

res = requests.get(
    "https://example-data.com/api/v1/songs/51"
)
song = res.json()
{
  "id": 51,
  "albumId": 6,
  "artistId": 2,
  "title": "Que sera sera (Whatever will be will be)",
  "slug": "que-sera-sera-whatever-will-be-will-be-51",
  "trackNumber": 8,
  "durationSeconds": 451,
  "isExplicit": false,
  "playCount": 1476148,
  "createdAt": "2021-11-19T19:33:49.702Z"
}
Draftbit