example-data.com
Menu
Browse docs and collections

Overview

brands / #3

Senger and Sons

Senger and Sons

Founded
1927
Location
PT

Future-proofed high-level throughput

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 3,
  "name": "Senger and Sons",
  "slug": "senger-and-sons-3",
  "description": "Future-proofed high-level throughput",
  "logoUrl": "https://picsum.photos/seed/brand-3/200/200",
  "website": null,
  "foundedYear": 1927,
  "headquartersCountryAlpha2": "PT",
  "createdAt": "2021-08-03T15:27:27.485Z"
}