example-data.com
Menu
Browse docs and collections

Overview

artists / #40

capillus & The amaritudo aiunt

capillus & The amaritudo aiunt

1985

punkfolkcountry

Angelus synagoga conatus denique ipsam sum capio accusator. Nulla villa solum adaugeo solus.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/artists/40"
);
const artist = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/artists/40"
);
const artist = (await res.json()) as Artist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/artists/40"
)
artist = res.json()

Response

{
  "id": 40,
  "name": "capillus & The amaritudo aiunt",
  "slug": "capillus-the-amaritudo-aiunt-40",
  "bio": "Angelus synagoga conatus denique ipsam sum capio accusator. Nulla villa solum adaugeo solus.",
  "genres": [
    "punk",
    "folk",
    "country"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-40/400/400",
  "monthlyListeners": 4068710,
  "formedYear": 1985,
  "isVerified": false,
  "createdAt": "2022-12-28T06:52:50.175Z"
}