Python client library for Google Safe Browsing API
While the code was developed according to official Developers Guide this is not a reference implementation. You also may want to check Acceptable Use Policy for Safe Browsing API
Instructions can be found here
python setup.py install
from gglsbl import SafeBrowsingList
sbl = SafeBrowsingList('API KEY GOES HERE')
sbl.update_hash_prefix_cache()
On a first run it may take up to several hours to complete the sync
from gglsbl import SafeBrowsingList
sbl = SafeBrowsingList('API KEY GOES HERE')
sbl.lookup_url('http://github.com/')
Please see gglsbl_client.py which can be used to sync lists data in the background and perform single URL lookups