example-data.com

songs / #126

There goes my baby

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/songs/126" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/songs/126"
);
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/126"
);
const song = (await res.json()) as Song;
import requests

res = requests.get(
    "https://example-data.com/api/v1/songs/126"
)
song = res.json()
{
  "id": 126,
  "albumId": 12,
  "artistId": 5,
  "title": "There goes my baby",
  "slug": "there-goes-my-baby-126",
  "trackNumber": 11,
  "durationSeconds": 422,
  "isExplicit": false,
  "playCount": 32785631,
  "createdAt": "2024-02-17T09:30:25.739Z"
}
Draftbit