example-data.com

songs / #220

Brother Louie

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/220"
)
song = res.json()
{
  "id": 220,
  "albumId": 21,
  "artistId": 8,
  "title": "Brother Louie",
  "slug": "brother-louie-220",
  "trackNumber": 8,
  "durationSeconds": 380,
  "isExplicit": true,
  "playCount": 33104328,
  "createdAt": "2022-03-15T11:48:57.022Z"
}
Draftbit