Interface DatabaseGetCitiesParams

interface DatabaseGetCitiesParams {
    count?: number;
    country_id?: number;
    need_all?: number | boolean;
    offset?: number;
    q?: string;
    region_id?: number;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

count?: number

Number of cities to return.

country_id?: number

Country ID.

need_all?: number | boolean

'1' - to return all cities in the country, '0' - to return major cities in the country (default),

offset?: number

Offset needed to return a specific subset of cities.

q?: string

Search query.

region_id?: number

Region ID.

Generated using TypeDoc