Fact Check Tools API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pierwsze kroki
Interfejs Google FactCheck ClaimReview w trybie odczytu i zapisu
Typowe przypadki użycia
- Dodawanie znaczników ClaimReview, edytowanie znaczników ClaimReview, usuwanie znaczników ClaimReview w artykułach z informacjami zweryfikowanymi (adresami URL). Aby dowiedzieć się więcej o ClaimReview, zajrzyj do dokumentacji dla deweloperów dotyczącej informacji zweryfikowanych.
Uwaga: aby móc dodawać lub edytować znaczniki witryny za pomocą tego interfejsu API, użytkownicy muszą zostać upoważnieni w Google Search Console. Na każdym koncie, które ma dostęp do witryny z ograniczonym lub pełnym dostępem, będzie można tworzyć znaczniki jej artykułów. Wymagane kroki:
- Zapytaj webmastera, czy Twoja witryna jest już w Search Console. Jeśli tak nie jest, wykonaj te czynności.
- Poproś webmastera o dodanie Cię jako użytkownika do witryny jako z ograniczonym lub pełnym dostępem (instrukcje).
Twoim obowiązkiem jest poinformowanie użytkowników, że klient API będzie przekazywać dane do dataCommons.
Korzystanie z interfejsu ClaimReview do odczytu i zapisu podlega Warunkom korzystania z interfejsu API Google.
Więcej informacji znajdziesz w szczegółowej dokumentacji interfejsu API.
Interfejs Google FactCheck Claim Search API
Typowe przypadki użycia
Korzystanie z interfejsu FactCheck Claim Search API podlega Warunkom korzystania z interfejsu API Google.
Więcej informacji znajdziesz w szczegółowej dokumentacji interfejsu API.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-05-25 UTC.
[null,null,["Ostatnia aktualizacja: 2023-05-25 UTC."],[[["\u003cp\u003eGoogle offers two Fact Check APIs: ClaimReview Read/Write API and Claim Search API, to manage and access fact-check data.\u003c/p\u003e\n"],["\u003cp\u003eThe ClaimReview API allows authorized users to add, edit, or delete ClaimReview markup for their site's fact-checking articles.\u003c/p\u003e\n"],["\u003cp\u003eThe Claim Search API enables users to query and retrieve Fact Check results, similar to the Fact Check Explorer tool.\u003c/p\u003e\n"],["\u003cp\u003eBoth APIs are subject to Google's API Terms of Service and require specific setup steps for usage.\u003c/p\u003e\n"]]],[],null,["# Fact Check Tools API\n\nGetting Started\n---------------\n\n### The Google FactCheck ClaimReview Read/Write API\n\n#### Typical use cases\n\n- Adding ClaimReview markup, editing ClaimReview Markup, deleting ClaimReview Markup for a site's fact checking articles (URLs). To learn more about ClaimReview, visit the [Fact Check developer docs](https://developers.google.com/search/docs/data-types/factcheck).\nNote: To add or make changes to a site's markup using this API, users must be [authorized](https://toolbox.google.com/factcheck/about#fcmt-creators) through Google Search Console. Any account that is listed as a restricted or full user of a site will be able to create markup for any articles of that site. The required steps are:\n\n- Talk to your webmaster to find out if your site is already on Search Console. If not, follow [these steps](https://support.google.com/webmasters/answer/6332964).\n- Ask your webmaster to add you as a user to the site, either as a restricted or full user ([instructions](https://support.google.com/webmasters/answer/2453966)).\n\nYou are responsible for informing your users that your API client will contribute data to\n[dataCommons](https://datacommons.org/factcheck/download).\nUse of the ClaimReview Read/Write API is subject to\n[Google's API Terms of Service](https://developers.google.com/terms/).\n\nTo learn more, check the detailed [API documentation](/fact-check/tools/api/reference/rest/v1alpha1/pages).\n\n### The Google FactCheck Claim Search API\n\n#### Typical use cases\n\n- Users can use this API to query the same set of Fact Check results available via the [Fact Check Explorer](https://toolbox.google.com/factcheck/explorer) tool. [Details here](https://toolbox.google.com/factcheck/about#fce-included).\n- Alternatively, a developer may wish to call this API to continuously get the latest updates on a particular query.\nNote: To use this API, you must [set up an API key](https://support.google.com/googleapi/answer/6158862).\n\nUse of the FactCheck Claim Search API is subject to\n[Google's API Terms of Service](https://developers.google.com/terms/).\n\nTo learn more, check the detailed [API documentation](/fact-check/tools/api/reference/rest/v1alpha1/claims)."]]