grubhub_restaurant_reviews
Fetch a single Grubhub restaurant's customer reviews and 1-5 star rating histogram, including star ratings, review text, reviewer details, dates, sentiment, diner type, and ordered menu items.
Instructions
Get one Grubhub restaurant's reviews and rating histogram. Returns one restaurant's customer reviews plus its 1-5 star rating histogram. Each review carries the star rating, the written body, the reviewer's display name and how many reviews they have written, the review date, Grubhub's own sentiment classification, the diner type, and the specific menu items the review is attached to -- Grubhub ties each review to what the diner actually ordered. sort accepts timeCreated_desc (most recent, the default) and ratingValue_desc (highest rated). Note the written-review corpus and the headline rating shown in search are separate systems upstream, so a restaurant can report a large rating count in search while returning few or no written reviews here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number (default 1) | |
| sort | No | One of timeCreated_desc, ratingValue_desc. Default timeCreated_desc. | |
| page_size | No | Reviews per page, 1-50 (default 20) | |
| restaurant_id | Yes | Grubhub's numeric restaurant id, from /grubhub/search |