example-data.com

songs / #40

Three Times a Lady

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/40"
)
song = res.json()
{
  "id": 40,
  "albumId": 5,
  "artistId": 2,
  "title": "Three Times a Lady",
  "slug": "three-times-a-lady-40",
  "trackNumber": 8,
  "durationSeconds": 433,
  "isExplicit": false,
  "playCount": 10890897,
  "createdAt": "2023-06-30T08:16:14.796Z"
}
Draftbit