Read this post by Keyvan Nayyeri to learn how to use Google Safe Browsing library.