example-data.com

time-zones / #5

America/Anchorage

AKST

Component variants

curl -sS \
  "https://example-data.com/api/v1/time-zones/5" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/time-zones/5"
);
const timeZone = await res.json();
import type { TimeZone } from "https://example-data.com/types/time-zones.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/time-zones/5"
);
const timeZone = (await res.json()) as TimeZone;
import requests

res = requests.get(
    "https://example-data.com/api/v1/time-zones/5"
)
time_zone = res.json()
{
  "id": 5,
  "name": "America/Anchorage",
  "offsetMinutes": -540,
  "abbreviation": "AKST",
  "countryAlpha2": "US"
}
Draftbit