example-data.com
Menu
Browse docs and collections

Overview

artists / #38

Summertime Blues Band

Summertime Blues Band

1968

rock

Verecundia audio maiores. Tremo dolores nobis adsidue supellex. Bis synagoga volup curo vado adinventitias tubineus soluta.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 38,
  "name": "Summertime Blues Band",
  "slug": "summertime-blues-band-38",
  "bio": "Verecundia audio maiores. Tremo dolores nobis adsidue supellex. Bis synagoga volup curo vado adinventitias tubineus soluta.",
  "genres": [
    "rock"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-38/400/400",
  "monthlyListeners": 8115587,
  "formedYear": 1968,
  "isVerified": false,
  "createdAt": "2022-12-18T10:49:00.034Z"
}