Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.37 KB

File metadata and controls

34 lines (25 loc) · 1.37 KB

NewsSearchRequest

Properties

Name Type Description Notes
query str Search query to inspect.
location SerpListLocation [optional]
language str Search language as an ISO code or full language name. Defaults to en. [optional]
limit int Number of results to return, matching the limit parameter used across other UnifAPI endpoints. Maps to result depth. [optional]
view SerpListView [optional]
os SerpListOs [optional]

Example

from unifapi.models.news_search_request import NewsSearchRequest

# TODO update the JSON string below
json = "{}"
# create an instance of NewsSearchRequest from a JSON string
news_search_request_instance = NewsSearchRequest.from_json(json)
# print the JSON string representation of the object
print(NewsSearchRequest.to_json())

# convert the object into a dict
news_search_request_dict = news_search_request_instance.to_dict()
# create an instance of NewsSearchRequest from a dict
news_search_request_from_dict = NewsSearchRequest.from_dict(news_search_request_dict)

[Back to Model list] [Back to API list] [Back to README]