example-data.com
Menu
Browse docs and collections

Overview

sneakers / #70

Jordan Air Jordan 11 (Black/Yellow)

Jordan Air Jordan 11 (Black/Yellow)

Jordan

USD330.00

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 70,
  "brand": "Jordan",
  "model": "Air Jordan 11",
  "colorway": "Black/Yellow",
  "style": "Skateboarding",
  "releaseDate": "2022-06-23",
  "retailPrice": 330,
  "currency": "USD",
  "imageUrl": "https://picsum.photos/seed/sneaker-70/800/600",
  "sizesAvailable": [
    "7.5",
    "8",
    "9",
    "9.5",
    "10.5",
    "11",
    "11.5",
    "13"
  ],
  "gender": "unisex",
  "createdAt": "2022-06-23T11:54:40.835Z"
}