Conduco clementia
2008
pop
Overview
albums / #152
2008
Conduco clementia
2008
Request
curl example
curl -sS \ "https://example-data.com/api/v1/albums/152" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/albums/152" ); 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/152"
);
const album = (await res.json()) as Album; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/albums/152"
)
album = res.json() Response
{
"id": 152,
"artistId": 54,
"title": "Conduco clementia",
"slug": "conduco-clementia-152",
"releaseDate": "2008-09-11",
"trackCount": 11,
"durationSeconds": 3406,
"genres": [
"pop"
],
"coverUrl": "https://picsum.photos/seed/album-152/500/500",
"createdAt": "2023-08-20T21:18:34.564Z"
}