example-data.com

companies / #2

Component variants

curl -sS \
  "https://example-data.com/api/v1/companies/2" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/companies/2"
);
const companie = await res.json();
import type { Companie } from "https://example-data.com/types/companies.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/companies/2"
);
const companie = (await res.json()) as Companie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/companies/2"
)
companie = res.json()
{
  "id": 2,
  "name": "Corkery, Wolf and Franey",
  "slug": "corkery-wolf-and-franey-2",
  "description": "Persistent well-modulated workforce",
  "industryId": 5,
  "headquartersCountryAlpha2": "AE",
  "employeeCount": 15624,
  "foundedYear": 2006,
  "websiteUrl": "https://www.corkery-wolf-and-franey.com",
  "logoUrl": "https://picsum.photos/seed/company-2/200/200",
  "isHiring": true,
  "createdAt": "2012-01-14T08:45:37.052Z"
}
Draftbit