Introduction

Enzo Server
  Installation
  Quick Start
  Core Features
    Async Calls
    ConnectionStrings
    Edge Cache
    HTTP Access
    Scheduling
    Views
  Advanced Capabilities
    Change Data Capture
  Administration
    Configuration Settings
    Logins & ACL
    Auditing
    Current Executions
    Linked Server
    SSL

  User Guides
     Sharding
     Sharding Overview

     SharePoint

   Adapters
    All Adapters


  SDK
    Overview
    Installation
    DevHost
    Create A Simple Adapter
    Best Practices
    Developer Guide
      Handler Columns
      Handler Options
      Handler Decorators
      Dynamic Columns
      Table & Table Enumerators
      Virtual Tables



GoogleSearch Adapter








Access the Google Search API for web page, image and video searches. This API works with Google Custom Search.


This adapter requires you to register an application with the Google Search Engine and configure a Search Engine.



OAuth Configuration

This adapter requires OAuth to be configured.

show steps 
  • Obtain an API Key and CustomSearchEngineId from Google and save in a Config Setting in Enzo
    This adapter requires the use of a Customer Search Engine from Google. You can find the CSE at this URL: https://cse.google.com/all
  • Create a Enzo Config Setting using the CSE information
    Once you have created the CSE, find the API Key and the SearchEngineID; save them in Enzo Manager as a new configuration setting.

Configuration Settings



Name Description Default
Boolean _isDefault Make this the default configuration. Defaults to true if configName is already the default.
String APIKey The API Key is used for authentication of google search api
String CustomSearchEngineId The custom search engine id is used to search data from particular domain

Handlers



ListSearch
search
Performs a Google Search (returns 10 results by default) details 

Arguments

Name Description Default
text R
searchType
topn

SQL Call

exec GoogleSearch.ListSearch 'nasdaq'
select * from GoogleSearch.search WHERE text='nasdaq'


Http Call

/bsc/googlesearch/listsearch

Output Columns

String title
String link
String snippet