|key||Required. Your Google Safe Browsing API key|
Optional. Set to 1 to enable debugging. 0 (disabled) by default.
The debug output maybe quite large and can slow down significantly the update and lookup functions.
|errors||Optional. Set to 1 to show errors to STDOUT. 0 (disabled by default).|
|version||Optional. Google Safe Browsing version. 3.0 by default|
|delay||Optional. Delay, in seconds, between 2 requests to the Google server. See the lookup function for more details. 0 (no delay) by default|
lookup()Lookup a list URLs against the Google Safe Browsing v2 lists.
my %match = $gsb->lookup(url => http://www.gumblar.cn);
Returns a hash url => Google match. The possible list of values for Google match are: ok (no match), malware, phishing, malware,phishing (match both lists) and error.
url Optional. Single URL to lookup. urls Optional. List of URLs to lookup.
Each requests must contain 500 URLs at most. The lookup() method will split the list of URLS in blocks of 500 URLs if needed.
delay Optional. If more than 500 URLs are checked, wait delay seconds between consecutive requests to avoid rate limiting by Google.
0.2 Documentation update.
See Net::Google::SafeBrowsing2 for the implementation of Google Safe Browsing v2 API.
Julien Sobrier, <firstname.lastname@example.org> or <email@example.com>
Copyright (C) 2012 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.
|perl v5.20.3||NET::GOOGLE::SAFEBROWSING2::LOOKUP (3)||2013-06-06|