example-data.com
Menu
Browse docs and collections

Overview

brands / #41

Johnston - Koss

Johnston - Koss

Founded
1943
Location
ET

Networked reciprocal interface

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 41,
  "name": "Johnston - Koss",
  "slug": "johnston-koss-41",
  "description": "Networked reciprocal interface",
  "logoUrl": "https://picsum.photos/seed/brand-41/200/200",
  "website": null,
  "foundedYear": 1943,
  "headquartersCountryAlpha2": "ET",
  "createdAt": "2017-03-17T14:18:14.304Z"
}