time-zones
time-zones
Page 3 of 3.
Overview
-
Asia/Jakarta
WIB
-
Asia/Singapore
SGT
-
Asia/Kuala_Lumpur
MYT
-
Asia/Ho_Chi_Minh
ICT
-
Asia/Manila
PHT
-
Asia/Shanghai
CST
-
Asia/Tokyo
JST
-
Asia/Seoul
KST
-
Asia/Taipei
CST
-
Africa/Cairo
EET
-
Africa/Johannesburg
SAST
-
Africa/Lagos
WAT
-
Africa/Nairobi
EAT
-
Australia/Sydney
AEST
-
Australia/Melbourne
AEST
-
Australia/Perth
AWST
-
Pacific/Auckland
NZST
-
Pacific/Fiji
FJT
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-zones?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/time-zones?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/time-zones";
const res = await fetch(
"https://example-data.com/api/v1/time-zones?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<TimeZone>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-zones",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 49,
"name": "Asia/Jakarta",
"offsetMinutes": 420,
"abbreviation": "WIB",
"countryAlpha2": "ID"
},
{
"id": 50,
"name": "Asia/Singapore",
"offsetMinutes": 480,
"abbreviation": "SGT",
"countryAlpha2": "SG"
},
{
"id": 51,
"name": "Asia/Kuala_Lumpur",
"offsetMinutes": 480,
"abbreviation": "MYT",
"countryAlpha2": "MY"
}
],
"meta": {
"page": 3,
"limit": 24,
"total": 66,
"totalPages": 3
},
"links": {
"self": "/api/v1/time-zones?page=3&limit=24",
"first": "/api/v1/time-zones?page=1&limit=24",
"last": "/api/v1/time-zones?page=3&limit=24",
"next": null,
"prev": "/api/v1/time-zones?page=2&limit=24"
}
}