example-data.com

songs / #144

Don't Leave Me This Way

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/144"
)
song = res.json()
{
  "id": 144,
  "albumId": 15,
  "artistId": 6,
  "title": "Don't Leave Me This Way",
  "slug": "dont-leave-me-this-way-144",
  "trackNumber": 1,
  "durationSeconds": 300,
  "isExplicit": true,
  "playCount": 9153108,
  "createdAt": "2024-03-26T21:41:42.779Z"
}
Draftbit