Jordan Air Jordan 5 (Black/Tan)
Jordan
USD340.00
Overview
sneakers / #50
Jordan
USD340.00
Request
curl example
curl -sS \ "https://example-data.com/api/v1/sneakers/50" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/sneakers/50" ); 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/50"
);
const sneaker = (await res.json()) as Sneaker; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/sneakers/50"
)
sneaker = res.json() Response
{
"id": 50,
"brand": "Jordan",
"model": "Air Jordan 5",
"colorway": "Black/Tan",
"style": "Trail",
"releaseDate": "2017-02-25",
"retailPrice": 340,
"currency": "USD",
"imageUrl": "https://picsum.photos/seed/sneaker-50/800/600",
"sizesAvailable": [
"3.5Y",
"4Y",
"4.5Y",
"5Y",
"5.5Y",
"6Y",
"6.5Y",
"7Y"
],
"gender": "youth",
"createdAt": "2017-02-25T06:27:33.412Z"
}