Fact Check Tools API (factchecktools:v1alpha1)

2024-03-28

1 new method

Additions

    Methods
  • factchecktools.claims.imageSearch

      HTTP Method: GET

      Flat Path: v1alpha1/claims:imageSearch

      Path: v1alpha1/claims:imageSearch

      Description: Search through fact-checked claims using an image as the query.

      Parameters:

        offset

          Description: Optional. 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.

          Format: int32

          Location: query

          Type: integer

        pageToken

          Location: query

          Description: Optional. 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.

          Type: string

        pageSize

          Description: Optional. The pagination size. We will return up to that many results. Defaults to 10 if not set.

          Format: int32

          Location: query

          Type: integer

        imageUri

          Type: string

          Description: Required. The URI of the source image. This must be a publicly-accessible image HTTP/HTTPS URL. When fetching images from HTTP/HTTPS URLs, Google cannot guarantee that the request will be completed. Your request may fail if the specified host denies the request (e.g. due to request throttling or DOS prevention), or if Google throttles requests to the site for abuse prevention. You should not depend on externally-hosted images for production applications.

          Location: query

        languageCode

          Description: Optional. 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.

          Location: query

          Type: string