interface AddressEntry

One administrative unit, with its name in both languages and its official geocode. Unlike IExpanded (kept in the historical snake_case), this newer structured API uses camelCase.

Properties

nameTh: string

Thai name.

nameEn: string

Romanised name.

code: string

Standard geocode: 2 digits for a province, 4 for a district, 6 for a sub-district.

optional
postalCode: string

Postal code — present on sub-district entries only.

Usage

import { type AddressEntry } from ".";