example-data.com
Menu
Browse docs and collections

Overview

sneakers / #22

Reebok Nano X3 (Gray/Red/Tan)

Reebok Nano X3 (Gray/Red/Tan)

Reebok

USD205.00

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/sneakers/22"
);
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/22"
);
const sneaker = (await res.json()) as Sneaker;

Python example

import requests

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

Response

{
  "id": 22,
  "brand": "Reebok",
  "model": "Nano X3",
  "colorway": "Gray/Red/Tan",
  "style": "Skateboarding",
  "releaseDate": "2020-05-26",
  "retailPrice": 205,
  "currency": "USD",
  "imageUrl": "https://picsum.photos/seed/sneaker-22/800/600",
  "sizesAvailable": [
    "5",
    "5.5",
    "6.5",
    "7",
    "8",
    "8.5",
    "9",
    "9.5",
    "10"
  ],
  "gender": "women",
  "createdAt": "2020-05-26T09:24:18.201Z"
}