example-data.com
Menu
Browse docs and collections

Overview

artists / #93

We Belong Together Band

We Belong Together Band

1973

rockfolk

Officia correptius vesper vir tergum crur pauper sint. Strenuus cunae vulgaris mollitia terreo tristis. Caveo deprimo acsi tego. Alo suggero delego.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 93,
  "name": "We Belong Together Band",
  "slug": "we-belong-together-band-93",
  "bio": "Officia correptius vesper vir tergum crur pauper sint. Strenuus cunae vulgaris mollitia terreo tristis. Caveo deprimo acsi tego. Alo suggero delego.",
  "genres": [
    "rock",
    "folk"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-93/400/400",
  "monthlyListeners": 27500060,
  "formedYear": 1973,
  "isVerified": false,
  "createdAt": "2021-09-09T01:03:48.007Z"
}