Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.47 KB

File metadata and controls

38 lines (29 loc) · 1.47 KB

NewsSearchResponse

Properties

Name Type Description Notes
query str
location str
language str
view SerpListView
observed_at str [optional]
search_url str [optional]
item_types List[str] SERP element types present in the result, in source order.
total_results int [optional]
result_count int Number of result elements returned.
results List[SerpListElement] News SERP elements in source order. News articles and top-stories blocks are billable; ads are free context.

Example

from unifapi.models.news_search_response import NewsSearchResponse

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

# convert the object into a dict
news_search_response_dict = news_search_response_instance.to_dict()
# create an instance of NewsSearchResponse from a dict
news_search_response_from_dict = NewsSearchResponse.from_dict(news_search_response_dict)

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