afilipovich / gglsbl

Python client library for Google Safe Browsing API
Apache License 2.0
83 stars 37 forks source link

Web Risk API #49

Open asieira opened 5 years ago

asieira commented 5 years ago

Apparently Google changed the license overnight on how the Safe Browsing API can or cannot be used:

Effective immediately, Safe Browsing API is for non-commercial use only. Existing contractual
agreements will be honored, and academic researchers, NGOs, operating systems, and browsers
can continue to use the Safe Browsing API at no cost. To detect malicious URLs for commercial
purposes—meaning for sale or revenue-generating purposes—you can use Web Risk API, which is
updated to meet the needs unique to enterprises.

I haven't looked into this Web Risk API, would it make sense to include support for it in gglsbl or is it different enough to warrant a separate implementation?

asieira commented 5 years ago

More information on the Web Risk API here: https://cloud.google.com/web-risk/docs/apis

asieira commented 5 years ago

Forgot to include this here:

If you currently use Safe Browsing API for commercial purposes or plan to in the future, 
you have 60 days (until November 11, 2019) to switch to Web Risk API.
alexcpsec commented 5 years ago

FYI https://pypi.org/project/google-cloud-webrisk/

afilipovich commented 5 years ago

Good call! ThreatRisk API looks superficially similar, I'll have a look into this.