Asia/Taipei
CST
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-zones/57" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-zones/57" ); const timeZone = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/time-zones.d.ts https://example-data.com/types/time-zones.d.ts
import type { TimeZone } from "./types/time-zones";
const res = await fetch(
"https://example-data.com/api/v1/time-zones/57"
);
const timeZone = (await res.json()) as TimeZone; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-zones/57"
)
time_zone = res.json() Response
{
"id": 57,
"name": "Asia/Taipei",
"offsetMinutes": 480,
"abbreviation": "CST",
"countryAlpha2": "TW"
}