Sanford and Sons
- Founded
- 1979
- Location
- MX
Stand-alone optimizing concept
Overview
brands / #5
Stand-alone optimizing concept
Request
curl example
curl -sS \ "https://example-data.com/api/v1/brands/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/brands/5" ); const brand = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/brands.d.ts https://example-data.com/types/brands.d.ts
import type { Brand } from "./types/brands";
const res = await fetch(
"https://example-data.com/api/v1/brands/5"
);
const brand = (await res.json()) as Brand; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/brands/5"
)
brand = res.json() Response
{
"id": 5,
"name": "Sanford and Sons",
"slug": "sanford-and-sons-5",
"description": "Stand-alone optimizing concept",
"logoUrl": "https://picsum.photos/seed/brand-5/200/200",
"website": "https://example.com/brands/sanford-and-sons",
"foundedYear": 1979,
"headquartersCountryAlpha2": "MX",
"createdAt": "2021-07-17T21:51:07.489Z"
}