User Manual

Brave Local Search

2/10/25
Brave Local Search

The Brave Local Search action enables location-based queries using the Brave search engine's local search feature. It allows users to find information about businesses, stores, restaurants, or service providers in their city or a specific area. It is particularly preferred in city guides, tourism, e-commerce, or service search applications.

Technical Features

Search Process (Search Panel): The Brave Local Search action returns local results based on the query word provided (e.g., “coffee shop,” “vet clinic”). The results returned usually contain multiple entries and can be used in a list.

Parameters:

  • settings (Object – required): Settings required for the Brave API. Brave settings defined via the Configuration Manager should be selected in this field.
  • query (String – required): The keyword or phrase to search for. (e.g., “pizza restaurant,” “hospital near me”).
  • count (Int32 – required): Specifies the number of results to return. If the default 0 is entered, no results are returned.

Data Source Compatibility: All parameters can be defined as fixed values, or they can be linked to dynamic sources such as Form Input, Current, Action Result, Method Input via the Symbol Picker.

Web & Mobile Support: The Brave Local Search action can be used in both web and mobile applications.

Brave Local Search Application Steps

1. Defining the Action in UI Design

  • Open your Kuika project.
  • Go to the UI Design module and select the screen where the local search will be performed.
  • Add a Text Input (search box) and Button (e.g., “Search Nearby Places”) element.
  • Click on the button and select the OnClick → Brave Search → Brave Local Search action from the + ADD ACTION menu.

2. Configuring Parameters

  • settings: Select the Brave API setting you created in Configuration Manager.
  • query: Link the value to be taken from the Text Input field (e.g., if the user types “hairdresser,” nearby hairdressers will be listed in the results).
  • count: Specify the number of results (e.g., 10).

Use Case: Finding Nearby Restaurants

In a city guide app, the user wants to search for restaurants in their city.

Steps:

  1. Add a Text Input element (“Search Restaurant”).
  2. Add the OnClick → Brave Local Search action to the “Search” button.
  3. Link the Query parameter to the Text Input.
  4. Enter the Count parameter as 10.
  5. Display the returned results on the screen using the Table element.

Brave Local Search Advanced Customizations

  • Dynamic Query: Automatic “near me” searches can be performed based on the user's location.
  • Filtering: Results can be filtered by specific categories only (e.g., restaurant, hotel, pharmacy).
  • Displaying Results on a Map: Brave Local Search results can be paired with the Maps element and visualized.
  • Saving Results: Users can add results to their favorites or save them to a database.

Technical Risks and Controls

  • query must not be empty. Since it is a required parameter, leaving it empty will return no results.
  • If count = 0, no results will be returned. A minimum value of 1 or higher must be entered.
  • The settings must be configured correctly. If Brave settings are not configured in Configuration Manager, the action will not work.
  • Result Format: The returned results are in JSON format; fields such as business name, address, and rating must be linked correctly.
No items found.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar