example-data.com
Menu
Browse docs and collections

Overview

sneakers / #39

Reebok Nano X3 (Yellow/Pink)

Reebok Nano X3 (Yellow/Pink)

Reebok

USD250.00

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 39,
  "brand": "Reebok",
  "model": "Nano X3",
  "colorway": "Yellow/Pink",
  "style": "Training",
  "releaseDate": "2018-11-14",
  "retailPrice": 250,
  "currency": "USD",
  "imageUrl": "https://picsum.photos/seed/sneaker-39/800/600",
  "sizesAvailable": [
    "3.5Y",
    "4Y",
    "5Y",
    "5.5Y",
    "6Y",
    "6.5Y",
    "7Y"
  ],
  "gender": "youth",
  "createdAt": "2018-11-14T13:41:50.916Z"
}