Function: getLocationInfo()
ts
function getLocationInfo(client, locationId): Promise<{
[key: string]: unknown;
category?: string;
facebook_places_id?: string;
lat?: number | null;
lng?: number | null;
location_address?: string;
location_city?: string;
location_id: string;
location_zip?: string;
media_count?: number | null;
name?: string;
phone?: string;
slug?: string;
website?: string;
}>;A location's own page: contact details, category and how many posts are tagged there.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
locationId | string |
Returns
Promise<{ [key: string]: unknown; category?: string; facebook_places_id?: string; lat?: number | null; lng?: number | null; location_address?: string; location_city?: string; location_id: string; location_zip?: string; media_count?: number | null; name?: string; phone?: string; slug?: string; website?: string; }>