example-data.com
Menu
Browse docs and collections

Overview

industries / #14

Health Insurance

Coverage plans for medical expenses for individuals and employer groups.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/industries/14"
);
const industry = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/industries.d.ts https://example-data.com/types/industries.d.ts
import type { Industry } from "./types/industries";

const res = await fetch(
  "https://example-data.com/api/v1/industries/14"
);
const industry = (await res.json()) as Industry;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/industries/14"
)
industrie = res.json()

Response

{
  "id": 14,
  "name": "Health Insurance",
  "slug": "health-insurance",
  "sector": "Healthcare",
  "description": "Coverage plans for medical expenses for individuals and employer groups."
}