example-data.com
Menu
Browse docs and collections

Overview

brands / #44

Huel LLC

Huel LLC

Founded
1980
Location
PH

Distributed stable support

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 44,
  "name": "Huel LLC",
  "slug": "huel-llc-44",
  "description": "Distributed stable support",
  "logoUrl": "https://picsum.photos/seed/brand-44/200/200",
  "website": null,
  "foundedYear": 1980,
  "headquartersCountryAlpha2": "PH",
  "createdAt": "2016-10-08T18:50:32.184Z"
}