example-data.com
Menu
Browse docs and collections

Overview

brands / #23

Ryan, Price and O'Keefe

Ryan, Price and O'Keefe

Founded
1977
Location
IS

Team-oriented well-modulated microservice

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 23,
  "name": "Ryan, Price and O'Keefe",
  "slug": "ryan-price-and-o-keefe-23",
  "description": "Team-oriented well-modulated microservice",
  "logoUrl": "https://picsum.photos/seed/brand-23/200/200",
  "website": null,
  "foundedYear": 1977,
  "headquartersCountryAlpha2": "IS",
  "createdAt": "2019-07-24T01:42:25.050Z"
}