example-data.com

songs / #87

The Rose

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/87"
)
song = res.json()
{
  "id": 87,
  "albumId": 9,
  "artistId": 4,
  "title": "The Rose",
  "slug": "the-rose-87",
  "trackNumber": 7,
  "durationSeconds": 127,
  "isExplicit": false,
  "playCount": 45984667,
  "createdAt": "2024-08-23T09:47:37.497Z"
}
Draftbit