Class: GoogleProductAPI
- Inherits:
-
SearchDataAPISearch
- Object
- SearchDataAPISearch
- GoogleProductAPI
- Defined in:
- lib/searchdata_sdk/google_search.rb
Overview
Google Product API Result powered by SearchData API Check code samples at examples/google_demo.ro Docs: app.searchdata.io/documentation/google-product-api
Constant Summary
Constants inherited from SearchDataAPISearch
SearchDataAPISearch::LOCATIONS_API, SearchDataAPISearch::MAIN_API, SearchDataAPISearch::MAIN_API_PATH
Instance Attribute Summary
Attributes inherited from SearchDataAPISearch
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ GoogleProductAPI
constructor
A new instance of GoogleProductAPI.
Methods inherited from SearchDataAPISearch
#api_key, api_key=, #check_params, #construct_url, #get_hash, #get_json, #get_location, #get_results, searchdata_api_key=
Constructor Details
#initialize(params = {}) ⇒ GoogleProductAPI
Returns a new instance of GoogleProductAPI.
89 90 91 92 |
# File 'lib/searchdata_sdk/google_search.rb', line 89 def initialize(params = {}) super(params, GOOGLE_PRODUCT_ENGINE) check_params(%i[product_id engine]) end |