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