Mills and Sons
- Founded
- 1979
- Location
- EG
Multi-tiered bottom-line microservice
Overview
brands / #27
Multi-tiered bottom-line microservice
Request
curl example
curl -sS \ "https://example-data.com/api/v1/brands/27" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/brands/27" ); 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/27"
);
const brand = (await res.json()) as Brand; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/brands/27"
)
brand = res.json() Response
{
"id": 27,
"name": "Mills and Sons",
"slug": "mills-and-sons-27",
"description": "Multi-tiered bottom-line microservice",
"logoUrl": "https://picsum.photos/seed/brand-27/200/200",
"website": "https://example.com/brands/mills-and-sons",
"foundedYear": 1979,
"headquartersCountryAlpha2": "EG",
"createdAt": "2020-12-01T01:21:05.109Z"
}