Collect All Reviews Using Google My Business API
Budget: £20 – £250 GBP
A bare-bones script to collect review data using the Google My Business (GMB) API with authentication information stored server-side.
I would like code PHP/JavaScript/HTML to perform the following task:
1. A user will authenticate using OAuth through a HTML page to connect to their Google My Business (GMB) listing.
a. Request access to limited data provided through the GMB API, such as business name, Place ID, complete ratings.
2. Store authentication information in a PHP session
3. Show their business or business (in a simple list) with the GMB unique identifier (or a similar reference)
4. On submission of a form (or pressing a button), retrieve all reviews through PHP for that business
5. Display all reviews as a simple table on the page
6. Functionality to:
a. Properly remove their authorisation from the GMB API (not just delete the session data)
b. And to make a new request to overwrite the existing authentication (i.e. to set a new user; returning to the first step)
Notes:
1. This code will be used in an existing project
2. For purposes of data storage: use variables in a PHP session
3. Using the Google My Business API; do not use the Places API
4. Use vanilla JavaScript or the JQuery library only
5. All code must be human readable and limited comments if an explanation is helpful
I would like code PHP/JavaScript/HTML to perform the following task:
1. A user will authenticate using OAuth through a HTML page to connect to their Google My Business (GMB) listing.
a. Request access to limited data provided through the GMB API, such as business name, Place ID, complete ratings.
2. Store authentication information in a PHP session
3. Show their business or business (in a simple list) with the GMB unique identifier (or a similar reference)
4. On submission of a form (or pressing a button), retrieve all reviews through PHP for that business
5. Display all reviews as a simple table on the page
6. Functionality to:
a. Properly remove their authorisation from the GMB API (not just delete the session data)
b. And to make a new request to overwrite the existing authentication (i.e. to set a new user; returning to the first step)
Notes:
1. This code will be used in an existing project
2. For purposes of data storage: use variables in a PHP session
3. Using the Google My Business API; do not use the Places API
4. Use vanilla JavaScript or the JQuery library only
5. All code must be human readable and limited comments if an explanation is helpful