Airlines
Passenger and cargo air transportation on scheduled and charter routes.
Overview
industries / #21
Passenger and cargo air transportation on scheduled and charter routes.
Request
curl example
curl -sS \ "https://example-data.com/api/v1/industries/21" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/industries/21" ); 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/21"
);
const industry = (await res.json()) as Industry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/industries/21"
)
industrie = res.json() Response
{
"id": 21,
"name": "Airlines",
"slug": "airlines",
"sector": "Consumer Discretionary",
"description": "Passenger and cargo air transportation on scheduled and charter routes."
}