example-data.com

songs / #95

We Will Rock You

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/songs/95"
)
song = res.json()
{
  "id": 95,
  "albumId": 10,
  "artistId": 5,
  "title": "We Will Rock You",
  "slug": "we-will-rock-you-95",
  "trackNumber": 5,
  "durationSeconds": 156,
  "isExplicit": false,
  "playCount": 5276512,
  "createdAt": "2021-11-29T02:53:38.214Z"
}
Draftbit