Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Google Safe Browsing v2 library for Perl

branch: master
README
Net-Google-SafeBrowsing2 version 1.08
=====================================

Net::Google::SafeBrowsing2 implements the Google Safe Browsing v2 API.
Net::Google::SafeBrowsing2::Lookup implements the Google Safe Browsing v2 Lookup API (up to 10,000 URL checks a day).

The library passes most of the unit tests listed in the API documentation. 
See the documentation (http://code.google.com/apis/safebrowsing/developers_guide_v2.html) for more details about the failed tests.

The Google Safe Browsing database must be stored and managed locally.
Net::Google::SafeBrowsing2::Sqlite uses Sqlite as the storage back-end, Net::Google::SafeBrowsing2::MySQL uses MySQL.
Other storage mechanisms (databases, memory, etc.) can be added and used transparently with this module.

You may want to look at "Google Safe Browsing v2: Implementation Notes" (http://www.zscaler.com/research/Google%20Safe%20Browsing%20v2%20API.pdf), a collection of notes and real-world numbers about the API. This is intended for people who want to learn more about the API, whether as a user or to make their own implementation.

The source code is available on github at https://github.com/juliensobrier/Net-Google-SafeBrowsing2.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

  LWP::UserAgent
  URI
  Digest::SHA
  List::Util
  constant
  Net::IPAddress
  Test::More
  Text::Trim
  Digest::HMAC_SHA1
  MIME::Base64::URLSafe
  MIME::Base64
  String::HexConvert
  File::Slurp


COPYRIGHT AND LICENCE

Copyright (C) 2013 by Julien Sobrier

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.


Something went wrong with that request. Please try again.