Last week, I mentioned that the Google Safe Browsing API has migrated to version 2. The new protocol is much more complex than version 1 and there are only a few libraries available for version 2 (see the full list in the previous post). Some popular languages, like Ruby, don't have any implementation at all.
To make the API accessible to more developers, Google has also introduced the Lookup API. This API is fairly simple. It lets users send a list of URLs (up to 500 per request) to Google and receive the classification for each of them. You still need a free API key to use the service and you are limited to 10,000 lookups per day.
I have released libraries for the Google Safe Browsing v2 Lookup API in Perl, Python and Ruby:
Perl;
CPAN: http://search.cpan.org/perldoc?Net::Google::SafeBrowsing2::Lookup
Source: https://github.com/juliensobrier/Net-Google-SafeBrowsing2
Python
PyPi: http://pypi.python.org/pypi/Google Safe Browsing v2 Lookup/
Source: https://github.com/juliensobrier/google-safe-browsing-lookup-python
Ruby
RubyGems: https://rubygems.org/gems/google-safe-browsing-lookup
Source: https://github.com/juliensobrier/google-safe-browsing-lookup-ruby
All the libraries contain proper documentation and unit tests. You can use the corresponding github repository to file bugs or discuss the libraries.
Subscribe to:
Post Comments (Atom)
1 comment:
There is no any detail about how to use the gem.
Post a Comment