如何获取有关Google FactCheck API的最新事实检查?

问题描述

我想获得有关使用Google事实检查工具的最新事实检查。这里有一个搜索API:https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/claims

我想获取没有搜索查询的最近事实检查的列表,就像这里的浏览器:https://toolbox.google.com/factcheck/explorer/search/list:recent;hl=en。这些API似乎仅显示查询,即使资源管理器允许您获取最近的事实检查。有没有办法获取最新的?

解决方法

此链接可以为您提供所有信息:https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/claims/search

输入查询并按EXECUTE,您可以通过在显示结果的小框中“全选”来检查结果。

https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/claims/search?apix_params=%7B%22maxAgeDays%22%3A33%2C%22query%22%3A%22preexisiting%22%2C%22reviewPublisherSiteFilter%22%3A%22Washington%20Post%22%7D

不起作用,因为“华盛顿邮报”无效,并且Google没有提供有效的“ reviewPublisherSiteFilter”列表。

将APIKEY框保留为空白,并在“ maxAgeDays”中使用NUMBER OF DAYS天,您将获得所需的结果。

类似这样的东西:

{
  "claims": [
    {
      "text": "“We're going to be doing a health care plan,very strongly,and protect people with preexisting conditions… We have other alternatives to Obamacare that are 50% less expensive and that are actually better.”\n“We have run [Obamacare] so much better than Obama ran it.”\n“At the end of my first term,we're going to have close to 300,maybe over 300 new federal judges,including Court of Appeal,two Supreme Court justices.”\nStock Market is proof that Americans are “doing better than they were doing before the pandemic came.”\n“We want people to come into our country ... but we want them to come in through a legal system.”","claimant": "@dwebbKHN","claimDate": "2020-09-17T10:21:00Z","claimReview": [
        {
          "publisher": {
            "name": "Misbar","site": "misbar.com"
          },"url": "https://misbar.com/factcheck/2020/09/17/trump-town-hall-special-%E2%80%93-other-topics","title": "Trump Town Hall Special – Other Topics | Fact Check","reviewDate": "2020-09-17T10:21:00Z","textualRating": "Fake","languageCode": "en"
        }
      ]
    },{
      "text": "Mr. Trump,who has not followed through on a pledge in July that he would have a health care plan ready and signed in two weeks,said his administration would not get rid of the preexisting conditions coverage that were implemented by the Affordable Care Act. He was responding to Ellesia Blaque,an assistant professor who lives in Philadelphia,who told him she's paying $7,000 a year for life-saving medicine because of a condition she was born with,sarcoidosis.","claimant": "Donald Trump","claimDate": "2020-09-16T00:00:00Z","claimReview": [
        {
          "publisher": {
            "name": "CBS News","site": "cbsnews.com"
          },"url": "https://www.cbsnews.com/news/trump-town-hall-fact-check-health-care-covid-19/#preexisting","title": "Fact-checking Trump's town hall health care claims","reviewDate": "2020-09-16T00:00:00Z","textualRating": "Mostly False",