UNPKG

nepal-administrative-data

Version:

Complete Nepal administrative boundaries and government data API - provinces, districts, municipalities (Gaunpalika/Nagarpalika) with bilingual search and TypeScript definitions. Perfect for mapping, location-based services in Nepal.

34 lines (33 loc) 1.17 kB
import { Province, District, GaPa, Language, NameCodePair } from './types'; /** * Get all provinces with code and name */ export declare function getProvinces(language?: Language): NameCodePair[]; /** * Get all districts with code and name */ export declare function getDistricts(language?: Language): NameCodePair[]; /** * Get all GaPas with code and name */ export declare function getGaPas(language?: Language): NameCodePair[]; /** * Get districts by province ID or code */ export declare function getDistrictsByProvince(provinceIdOrCode: number, language?: Language): NameCodePair[]; /** * Get GaPas by district ID or code */ export declare function getGaPasByDistrict(districtIdOrCode: number, language?: Language): NameCodePair[]; /** * Get detailed province information by ID or code */ export declare function getProvinceDetails(provinceIdOrCode: number): Province | null; /** * Get detailed district information by ID or code */ export declare function getDistrictDetails(districtIdOrCode: number): District | null; /** * Get detailed GaPa information by ID or code */ export declare function getGaPaDetails(gapaIdOrCode: number): GaPa | null;