Beatae ante deinde
2018
electronic
Overview
albums / #100
2018
Beatae ante deinde
2018
Request
curl example
curl -sS \ "https://example-data.com/api/v1/albums/100" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/albums/100" ); 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/100"
);
const album = (await res.json()) as Album; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/albums/100"
)
album = res.json() Response
{
"id": 100,
"artistId": 39,
"title": "Beatae ante deinde",
"slug": "beatae-ante-deinde-100",
"releaseDate": "2018-03-13",
"trackCount": 11,
"durationSeconds": 4106,
"genres": [
"electronic"
],
"coverUrl": "https://picsum.photos/seed/album-100/500/500",
"createdAt": "2024-10-11T08:45:51.442Z"
}