The Google Search component is a data connector that allows users to leverage the Google Search engine. It can carry out the following tasks:
#Release Stage
Alpha
#Configuration
The component configuration is defined and maintained here.
#Connection
| Field | Field ID | Type | Note |
|---|---|---|---|
| API Key (required) | api_key | string | API Key for the Google Custom Search API. You can create one here: https://developers.google.com/custom-search/v1/overview#api_key |
| Search Engine ID (required) | cse_id | string | ID of the Search Engine to use. Before using the Custom Search JSON API you will first need to create and configure your Programmable Search Engine. If you have not already created a Programmable Search Engine, you can start by visiting the Programmable Search Engine control panel https://programmablesearchengine.google.com/controlpanel/all. You can find this in the URL of your Search Engine. For example, if the URL of your search engine is https://cse.google.com/cse.js?cx=012345678910, the ID value is: 012345678910 |
#Supported Tasks
#Search
Search data via Google Search Engine.
| Input | ID | Type | Description |
|---|---|---|---|
| Task ID (required) | task | string | TASK_SEARCH |
| Query (required) | query | string | The search query for Google |
| Top K | top_k | integer | The number of results to return for each query |
| Include Link Text | include_link_text | boolean | Indicate whether to scrape the link and include the text of the link associated with this search result in the 'link_text' field |
| Include Link HTML | include_link_html | boolean | Indicate whether to scrape the link and include the raw HTML of the link associated with this search result in the 'link_html' field |
| Output | ID | Type | Description |
|---|---|---|---|
| Results | results | array[object] | The returned search results from Google |