safebrowsing/v5 library

Safe Browsing API - v5

Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.

For more information, see developers.google.com/safe-browsing/

Create an instance of SafebrowsingApi to access these resources:

Classes

GoogleSecuritySafebrowsingV5FullHash
The full hash identified with one or more matches.
GoogleSecuritySafebrowsingV5FullHashFullHashDetail
Details about a matching full hash.
GoogleSecuritySafebrowsingV5SearchHashesResponse
The response returned after searching threat hashes.
HashesResource
SafebrowsingApi
Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.