example-data.com
Menu
Browse docs and collections

Overview

albums / #73

Aetas aestivus callide dicta

Aetas aestivus callide dicta

2000

metal

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/albums/73" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/albums/73"
);
const album = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/albums.d.ts https://example-data.com/types/albums.d.ts
import type { Album } from "./types/albums";

const res = await fetch(
  "https://example-data.com/api/v1/albums/73"
);
const album = (await res.json()) as Album;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/albums/73"
)
album = res.json()

Response

{
  "id": 73,
  "artistId": 29,
  "title": "Aetas aestivus callide dicta",
  "slug": "aetas-aestivus-callide-dicta-73",
  "releaseDate": "2000-11-16",
  "trackCount": 10,
  "durationSeconds": 1508,
  "genres": [
    "metal"
  ],
  "coverUrl": "https://picsum.photos/seed/album-73/500/500",
  "createdAt": "2024-12-25T16:27:40.502Z"
}