example-data.com
Menu
Browse docs and collections

Overview

brands / #50

Hyatt, Thompson and Hessel

Hyatt, Thompson and Hessel

Founded
1979
Location
MX

Public-key asymmetric attitude

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 50,
  "name": "Hyatt, Thompson and Hessel",
  "slug": "hyatt-thompson-and-hessel-50",
  "description": "Public-key asymmetric attitude",
  "logoUrl": "https://picsum.photos/seed/brand-50/200/200",
  "website": null,
  "foundedYear": 1979,
  "headquartersCountryAlpha2": "MX",
  "createdAt": "2022-06-17T07:22:57.205Z"
}