UNPKG

@vepler/http-sdk

Version:

The definitive TypeScript SDK for UK property technology. Access comprehensive property data, school metrics, demographics, planning applications, and more through a single, powerful API.

16 lines (15 loc) 514 B
import { JsonObject } from '../../../types'; export interface DemographicsQueryParams { geographyCodes: string; format?: 'array' | 'object'; topics?: string; censusPeriod?: string; hierarchyLevel?: number; includeMetadata?: boolean; } export interface GetDemographicsResponse { result: JsonObject[] | JsonObject; success: boolean; } export declare function queryDemographics(queryParams: DemographicsQueryParams): Promise<GetDemographicsResponse>; export default queryDemographics;