Termes
2014
pop
albums / #45
2014
Termes
2014
curl -sS \
"https://example-data.com/api/v1/albums/45" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/albums/45"
);
const album = await res.json();import type { Album } from "https://example-data.com/types/albums.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/albums/45"
);
const album = (await res.json()) as Album;import requests
res = requests.get(
"https://example-data.com/api/v1/albums/45"
)
album = res.json() {
"id": 45,
"artistId": 19,
"title": "Termes",
"slug": "termes-45",
"releaseDate": "2014-11-02",
"trackCount": 13,
"durationSeconds": 4889,
"genres": [
"pop"
],
"coverUrl": "https://picsum.photos/seed/album-45/500/500",
"createdAt": "2023-05-24T22:48:52.932Z"
}