Class: GoogleMapsReviewsAPI
- Inherits:
-
SearchDataAPISearch
- Object
- SearchDataAPISearch
- GoogleMapsReviewsAPI
- Defined in:
- lib/searchdata_sdk/google_search.rb
Overview
Google Maps Reviews API Result powered by SearchData API Check code samples at examples/google_demo.ro Docs: app.searchdata.io/documentation/google-maps-reviews-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 = {}) ⇒ GoogleMapsReviewsAPI
constructor
A new instance of GoogleMapsReviewsAPI.
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 = {}) ⇒ GoogleMapsReviewsAPI
Returns a new instance of GoogleMapsReviewsAPI.
29 30 31 32 |
# File 'lib/searchdata_sdk/google_search.rb', line 29 def initialize(params = {}) super(params, GOOGLE_MAPS_REVIEWS_ENGINE) check_params(%i[q engine]) end |