example-data.com

songs / #38

Spanish Harlem

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/38"
)
song = res.json()
{
  "id": 38,
  "albumId": 5,
  "artistId": 2,
  "title": "Spanish Harlem",
  "slug": "spanish-harlem-38",
  "trackNumber": 6,
  "durationSeconds": 231,
  "isExplicit": false,
  "playCount": 37544972,
  "createdAt": "2021-09-06T21:21:31.034Z"
}
Draftbit