example-data.com
Menu
Browse docs and collections

Overview

artists / #24

Marvin Kuvalis

Marvin Kuvalis

1981

soulreggaeindie

Bellicus debeo tabgo alii ex absque aqua colligo apud. Uberrime crebro illo curso paens ab.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/artists/24"
);
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/24"
);
const artist = (await res.json()) as Artist;

Python example

import requests

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

Response

{
  "id": 24,
  "name": "Marvin Kuvalis",
  "slug": "marvin-kuvalis-24",
  "bio": "Bellicus debeo tabgo alii ex absque aqua colligo apud. Uberrime crebro illo curso paens ab.",
  "genres": [
    "soul",
    "reggae",
    "indie"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-24/400/400",
  "monthlyListeners": 47485089,
  "formedYear": 1981,
  "isVerified": false,
  "createdAt": "2021-06-12T23:51:25.103Z"
}