Class: GoogleScholarAPI
- Inherits:
-
SearchDataAPISearch
- Object
- SearchDataAPISearch
- GoogleScholarAPI
- Defined in:
- lib/searchdata_sdk/google_search.rb
Overview
Google Scholar API Result powered by SearchData API Check code samples at examples/google_demo.ro Docs: app.searchdata.io/documentation/google-scholar-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 = {}) ⇒ GoogleScholarAPI
constructor
A new instance of GoogleScholarAPI.
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 = {}) ⇒ GoogleScholarAPI
Returns a new instance of GoogleScholarAPI.
49 50 51 52 |
# File 'lib/searchdata_sdk/google_search.rb', line 49 def initialize(params = {}) super(params, GOOGLE_SCHOLAR_ENGINE) check_params(%i[q engine]) end |