Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single review of a place.

Hierarchy

  • PlaceReview

Index

Properties

Optional aspects

aspects?: PlaceAspectRating[]

The aspects rated by the review. The ratings on a scale of 0 to 3.

deprecated

This field is no longer available.

author_name

author_name: string

The name of the reviewer.

Optional author_url

author_url?: string

A URL to the reviewer's profile. This will be undefined when the reviewer's profile is unavailable.

language

language: string

An IETF language code indicating the language in which this review is written. Note that this code includes only the main language tag without any secondary tag indicating country or region. For example, all the English reviews are tagged as 'en' rather than 'en-AU' or 'en-UK'.

profile_photo_url

profile_photo_url: string

A URL to the reviwer's profile image.

Optional rating

rating?: number

The rating of this review, a number between 1.0 and 5.0 (inclusive).

relative_time_description

relative_time_description: string

A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country. For example "a month ago".

text

text: string

The text of a review.

time

time: number

Timestamp for the review, expressed in seconds since epoch.

Generated using TypeDoc