example-data.com
Menu
Browse docs and collections

Overview

artists / #51

Peter Wisoky

Peter Wisoky

1950

rockhip-hoppunk

Studio pel arcesso pectus adeo arma toties. Recusandae sequi sono defendo turpis illo aegrotatio aer spiritus. Accedo adaugeo torrens creta adamo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 51,
  "name": "Peter Wisoky",
  "slug": "peter-wisoky-51",
  "bio": "Studio pel arcesso pectus adeo arma toties. Recusandae sequi sono defendo turpis illo aegrotatio aer spiritus. Accedo adaugeo torrens creta adamo.",
  "genres": [
    "rock",
    "hip-hop",
    "punk"
  ],
  "imageUrl": "https://picsum.photos/seed/artist-51/400/400",
  "monthlyListeners": 29255960,
  "formedYear": 1950,
  "isVerified": false,
  "createdAt": "2024-01-10T13:52:56.471Z"
}