Jordan Air Jordan 3 (Yellow/White)
Jordan
USD250.00
Overview
sneakers / #24
Jordan
USD250.00
Request
curl example
curl -sS \ "https://example-data.com/api/v1/sneakers/24" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/sneakers/24" ); 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/24"
);
const sneaker = (await res.json()) as Sneaker; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/sneakers/24"
)
sneaker = res.json() Response
{
"id": 24,
"brand": "Jordan",
"model": "Air Jordan 3",
"colorway": "Yellow/White",
"style": "Training",
"releaseDate": "2018-07-24",
"retailPrice": 250,
"currency": "USD",
"imageUrl": "https://picsum.photos/seed/sneaker-24/800/600",
"sizesAvailable": [
"5.5Y",
"6Y",
"6.5Y",
"7Y"
],
"gender": "youth",
"createdAt": "2018-07-24T03:30:18.955Z"
}