example-data.com
Menu
Browse docs and collections

Overview

brands / #24

Fay - Armstrong

Fay - Armstrong

Founded
1940
Location
PK

Triple-buffered responsive policy

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/brands/24" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/brands/24"
);
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/24"
);
const brand = (await res.json()) as Brand;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/brands/24"
)
brand = res.json()

Response

{
  "id": 24,
  "name": "Fay - Armstrong",
  "slug": "fay-armstrong-24",
  "description": "Triple-buffered responsive policy",
  "logoUrl": "https://picsum.photos/seed/brand-24/200/200",
  "website": null,
  "foundedYear": 1940,
  "headquartersCountryAlpha2": "PK",
  "createdAt": "2020-02-02T08:31:44.998Z"
}