Package com.hw.serpapi
Class GoogleSearch
java.lang.Object
com.hw.serpapi.SerpApiSearch
com.hw.serpapi.GoogleSearch
Google Search Results using SerpApi
- Author:
- HamaWhite
-
Field Summary
Fields inherited from class com.hw.serpapi.SerpApiSearch
API_KEY_NAME, engine, parameter, search, serpapiApiKey
-
Constructor Summary
ConstructorDescriptionConstructorGoogleSearch
(String serpapiApiKey) ConstructorGoogleSearch
(Map<String, String> parameter) ConstructorGoogleSearch
(Map<String, String> parameter, String serpapiApiKey) Constructor -
Method Summary
Methods inherited from class com.hw.serpapi.SerpApiSearch
asJson, buildQuery, getAccount, getApiKeyFromEnv, getClient, getHtml, getJson, getLocation, getSearchArchive, setParameter
-
Constructor Details
-
GoogleSearch
Constructor- Parameters:
parameter
- search parameterserpapiApiKey
- secret API key
-
GoogleSearch
public GoogleSearch()Constructor -
GoogleSearch
Constructor- Parameters:
serpapiApiKey
- secret API key
-
GoogleSearch
Constructor- Parameters:
parameter
- search parameter
-