Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RatingFilter

import type { RatingFilter } from "https://googleapis.deno.dev/v1/areainsights:v1.ts";

Average user rating filters.

interface RatingFilter {
maxRating?: number;
minRating?: number;
}

§Properties

§
maxRating?: number
[src]

Optional. Restricts results to places whose average user rating is strictly less than or equal to max_rating. Values must be between 1.0 and 5.0.

§
minRating?: number
[src]

Optional. Restricts results to places whose average user rating is greater than or equal to min_rating. Values must be between 1.0 and 5.0.