![]() |
VOOZH | about |
The CData JDBC Driver for Google Search seamlessly integrates Google Search results into database management tools like DBArtisan by enabling you to access Google Search results as a database. This article shows how to create a JDBC source for Google Search in DBArtisan. You can then edit data visually and execute standard SQL.
Follow the steps below to register Google Search results as a database instance in your project:
To search with a Google custom search engine, you need to set the CustomSearchId and ApiKey connection properties.
To obtain the CustomSearchId property, sign into Google Custom Search Engine and create a new search engine.
To obtain the ApiKey property, you must enable the Custom Search API in the Google API Console.
For assistance in constructing the JDBC URL, use the connection string designer built into the Google Search JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.googlesearch.jar
Fill in the connection properties and copy the connection string to the clipboard.
👁 Required JDBC connection properties in the Register Datasource wizard. (Salesforce is shown.)Below is a typical connection string:
jdbc:googlesearch:CustomSearchId=def456;ApiKey=abc123;
You can now work with Google Search results as you work with any other database. See the driver help documentation for more information on the queries supported by the Google Search API.
👁 The results of a query. (Salesforce is shown.)Download a free trial of the Google Search Driver to get started:
Download NowLearn more:
👁 Google Search IconEasy-to-use Google client enables Java-based applications to easily search and filter Google search results.