example-data.com

songs / #179

Losing My Religion

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/179"
)
song = res.json()
{
  "id": 179,
  "albumId": 18,
  "artistId": 7,
  "title": "Losing My Religion",
  "slug": "losing-my-religion-179",
  "trackNumber": 2,
  "durationSeconds": 129,
  "isExplicit": false,
  "playCount": 6171525,
  "createdAt": "2023-12-06T23:57:12.875Z"
}
Draftbit