googlereviews
This module provides two blocks to show Google reviews and rating on your website.
Rating block
The Google reviews rating block show the average rating made by all users including stars. The block also includes a link to the reviews on Google.
Reviews list block
The reviews list block shows a maximum of 5 reviews with the author name, author profile picture, a link to all reviews by this user and the rating and description of the review.
In the block settings you can choose how many reviews you'd like to show. You can also set the sorting in the block settings; newest reviews or the reviews Google finds most relevant.
Theming
The two blocks are fully themable through the supplied twig templates and basic css files.
We also provided a colored Google logo as svg in the images folder.
Installation
Just install this module as any other. The module has no other modules as dependancy.
After installing go to the Google review settings page (admin/config/system/googlereviews) and enter your Google Maps API key and the Place ID from the location from which you want to show the reviews.
You need to create a free account at Google and register a project to be able to obtain an Google Maps API key. Documentation about this proces can be found at Google Maps developers documentation.
To find the place_id belonging to the location you want to show the reviews of go to Google Places Place ID Finder.