areaInsights
import { areaInsights } from "https://googleapis.deno.dev/v1/areainsights:v1.ts";
Places Insights API.
class areaInsights {}
§Methods
§
v1ComputeInsights(req: ComputeInsightsRequest): Promise<ComputeInsightsResponse>
[src]Compute Insights RPC This method lets you retrieve insights about areas
using a variaty of filter such as: area, place type, operating status,
price level and ratings. Currently "count" and "places" insights are
supported. With "count" insights you can answer questions such as "How many
restaurant are located in California that are operational, are inexpensive
and have an average rating of at least 4 stars" (see insight
enum for
more details). With "places" insights, you can determine which places match
the requested filter. Clients can then use those place resource names to
fetch more details about each individual place using the Places API.