example-data.com
Menu
Browse docs and collections

Overview

sneakers / #31

Reebok Classic Leather (White/Green/Tan)

Reebok Classic Leather (White/Green/Tan)

Reebok

USD325.00

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/sneakers/31"
);
const sneaker = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/sneakers.d.ts https://example-data.com/types/sneakers.d.ts
import type { Sneaker } from "./types/sneakers";

const res = await fetch(
  "https://example-data.com/api/v1/sneakers/31"
);
const sneaker = (await res.json()) as Sneaker;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/sneakers/31"
)
sneaker = res.json()

Response

{
  "id": 31,
  "brand": "Reebok",
  "model": "Classic Leather",
  "colorway": "White/Green/Tan",
  "style": "Basketball",
  "releaseDate": "2024-07-14",
  "retailPrice": 325,
  "currency": "USD",
  "imageUrl": "https://picsum.photos/seed/sneaker-31/800/600",
  "sizesAvailable": [
    "7",
    "7.5",
    "8",
    "9",
    "10",
    "10.5",
    "11",
    "11.5",
    "12",
    "13"
  ],
  "gender": "unisex",
  "createdAt": "2024-07-14T02:25:34.891Z"
}