Google Ratings

Description

Rida Usman

Last Update a year ago

Editor Link: https://bubble.io/page?id=chakor-plugin-demo-6&test_plugin=1737448205063x246548511052005380_current&tab=Design&name=google_ratings&type=page

Demo
Link: https://chakor-plugin-demo-6.bubbleapps.io/version-test/google_ratings


Instructions to Use the "Google Ratings" Plugin
1. Get Your Google Ratings API Key


2. Add the Plugin to Your Bubble App
  • Open your Bubble app editor.
  • Navigate to the Plugins tab.
  • Click on Add Plugins and search for "Google Ratings."
  • Install the plugin into your app.

3. Set Up the API Key
  • Go to the Plugins tab in your Bubble editor.
  • Find the "Google Ratings" plugin in the list.
  • Enter your Google Ratings API key in the API Key field.
  • Save your changes.

4. Use the Google Ratings Plugin
  • The plugin provides two key ways to fetch and use business data:
    • Data Call: Fetch business details and reviews to display in your app.
    • Action Call: Trigger an action in workflows to fetch reviews dynamically.

4.1. Data Call: Fetch Business Details and Reviews
  • Use the data call to retrieve detailed information about a business and its reviews.
  • You can use this data dynamically in your app's elements.
  • Fields available through the data call include:
    • Business ID: The unique identifier of the business (e.g., 0x39190670855e99e7:0xb995ff6a8a03422f).
    • Name: The business name (e.g., Rina's Kitchenette).
    • Full Address: The complete address of the business.
    • Phone Number: Contact number of the business.
    • Rating: The overall rating of the business (e.g., 4.2).
    • Review Count: The total number of reviews available for the business (e.g., 2553).
    • Price Level: Cost indicator (e.g., $$).
    • Working Hours: Operating hours for each day of the week.
    • State: Current operational status (e.g., Open ⋅ Closes 10 PM).
    • Website: The business’s website (e.g., https://rinas.pk).
    • Location Details: Latitude and longitude of the business location.
    • Reviews: A list of reviews, including:
      • User Name: Name of the reviewer (e.g., Saqlain Noor).
      • User Avatar: Profile picture of the reviewer.
      • Review Text: Content of the review (e.g., "The desserts we ordered were 10/10 and so sumptuous...").
      • Review Rating: The rating provided by the reviewer (e.g., 4).
      • Review Timestamp: The date and time the review was posted.
      • Review Link: A link to the review on Google Maps.
      • Photos: Any photos attached to the review.

4.2. Action Call: Fetch Reviews in Workflows
  • Use the action call in workflows to fetch business details or reviews dynamically.
  • Steps to use the action call:
    • Navigate to your app’s Workflow tab.
    • Add a new action and select the "Google Ratings" action.
    • Pass the Business ID and optional parameters like language or review limits.
    • Use the action's results dynamically in subsequent steps or display them in the app.

Was this article helpful?

0 out of 0 liked this article