Class: BingSearch
- Inherits:
-
SearchDataAPISearch
- Object
- SearchDataAPISearch
- BingSearch
- Defined in:
- lib/searchdata_sdk/bing_search.rb
Overview
Bing Search Result powered by SearchData API Check code samples at examples/bing_demo.rb Docs: app.searchdata.io/documentation/bing-search
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 = {}) ⇒ BingSearch
constructor
A new instance of BingSearch.
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 = {}) ⇒ BingSearch
Returns a new instance of BingSearch.
9 10 11 12 |
# File 'lib/searchdata_sdk/bing_search.rb', line 9 def initialize(params = {}) super(params, BING_ENGINE) check_params(%i[q engine]) end |