1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="factchecktools_v1alpha1.html">Fact Check Tools API</a> . <a href="factchecktools_v1alpha1.claims.html">claims</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#search">search(languageCode=None, maxAgeDays=None, offset=None, pageSize=None, pageToken=None, query=None, reviewPublisherSiteFilter=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Search through fact-checked claims.</p> 83<p class="toc_element"> 84 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p> 85<p class="firstline">Retrieves the next page of results.</p> 86<h3>Method Details</h3> 87<div class="method"> 88 <code class="details" id="close">close()</code> 89 <pre>Close httplib2 connections.</pre> 90</div> 91 92<div class="method"> 93 <code class="details" id="search">search(languageCode=None, maxAgeDays=None, offset=None, pageSize=None, pageToken=None, query=None, reviewPublisherSiteFilter=None, x__xgafv=None)</code> 94 <pre>Search through fact-checked claims. 95 96Args: 97 languageCode: string, The BCP-47 language code, such as "en-US" or "sr-Latn". Can be used to restrict results by language, though we do not currently consider the region. 98 maxAgeDays: integer, The maximum age of the returned search results, in days. Age is determined by either claim date or review date, whichever is newer. 99 offset: integer, An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset. For example, 0 means to return results starting from the first matching result, and 10 means to return from the 11th result. 100 pageSize: integer, The pagination size. We will return up to that many results. Defaults to 10 if not set. 101 pageToken: string, The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same values as in the previous request. 102 query: string, Textual query string. Required unless `review_publisher_site_filter` is specified. 103 reviewPublisherSiteFilter: string, The review publisher site to filter results by, e.g. nytimes.com. 104 x__xgafv: string, V1 error format. 105 Allowed values 106 1 - v1 error format 107 2 - v2 error format 108 109Returns: 110 An object of the form: 111 112 { # Response from searching fact-checked claims. 113 "claims": [ # The list of claims and all of their associated information. 114 { # Information about the claim. 115 "claimDate": "A String", # The date that the claim was made. 116 "claimReview": [ # One or more reviews of this claim (namely, a fact-checking article). 117 { # Information about a claim review. 118 "languageCode": "A String", # The language this review was written in. For instance, "en" or "de". 119 "publisher": { # Information about the publisher. # The publisher of this claim review. 120 "name": "A String", # The name of this publisher. For instance, "Awesome Fact Checks". 121 "site": "A String", # Host-level site name, without the protocol or "www" prefix. For instance, "awesomefactchecks.com". This value of this field is based purely on the claim review URL. 122 }, 123 "reviewDate": "A String", # The date the claim was reviewed. 124 "textualRating": "A String", # Textual rating. For instance, "Mostly false". 125 "title": "A String", # The title of this claim review, if it can be determined. 126 "url": "A String", # The URL of this claim review. 127 }, 128 ], 129 "claimant": "A String", # A person or organization stating the claim. For instance, "John Doe". 130 "text": "A String", # The claim text. For instance, "Crime has doubled in the last 2 years." 131 }, 132 ], 133 "nextPageToken": "A String", # The next pagination token in the Search response. It should be used as the `page_token` for the following request. An empty value means no more results. 134}</pre> 135</div> 136 137<div class="method"> 138 <code class="details" id="search_next">search_next(previous_request, previous_response)</code> 139 <pre>Retrieves the next page of results. 140 141Args: 142 previous_request: The request for the previous page. (required) 143 previous_response: The response from the request for the previous page. (required) 144 145Returns: 146 A request object that you can call 'execute()' on to request the next 147 page. Returns None if there are no more items in the collection. 148 </pre> 149</div> 150 151</body></html>