example-data.com
Menu
Browse docs and collections

Overview

artists / #89

You Belong to Me Band

You Belong to Me Band

1983

folkjazzrock

Maiores ventito voluptatem supellex credo debeo cubicularis curso callide. Cibus sol adulescens patria strenuus uter tredecim apparatus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 89,
  "name": "You Belong to Me Band",
  "slug": "you-belong-to-me-band-89",
  "bio": "Maiores ventito voluptatem supellex credo debeo cubicularis curso callide. Cibus sol adulescens patria strenuus uter tredecim apparatus.",
  "genres": [
    "folk",
    "jazz",
    "rock"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-89/400/400",
  "monthlyListeners": 44412323,
  "formedYear": 1983,
  "isVerified": false,
  "createdAt": "2023-11-13T19:52:34.267Z"
}