example-data.com

brands / #5

Component variants

curl -sS \
  "https://example-data.com/api/v1/brands/5" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/brands/5"
);
const brand = await res.json();
import type { Brand } from "https://example-data.com/types/brands.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/brands/5"
);
const brand = (await res.json()) as Brand;
import requests

res = requests.get(
    "https://example-data.com/api/v1/brands/5"
)
brand = res.json()
{
  "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://www.sanford-and-sons.com",
  "foundedYear": 1979,
  "headquartersCountryAlpha2": "MX",
  "createdAt": "2021-07-17T21:51:07.489Z"
}
Draftbit