WebService::HIBP::Paste - An instance of a paste from the Have I Been Pwned webservice at haveibeenpwned.com
Version 0.15
Check the security of your accounts/email addresses and passwords
use WebService::HIBP(); use v5.10; my $hibp = WebService::HIBP->new(); foreach my $paste ($hibp->pastes()) { say $paste->source(); }
Each paste contains a number of attributes describing it. In the future, these attributes may expand without the API being versioned.
A creation method that should only be called by WebService::HIBP.
The paste service the record was retrieved from. Current values are: Pastebin, Pastie, Slexy, Ghostbin, QuickLeak, JustPaste, AdHocUrl, OptOut
The ID of the paste as it was given at the source service. Combined with the "Source" attribute, this can be used to resolve the URL of the paste.
The title of the paste as observed on the source site. This may be null and if so will be omitted from the response.
The date and time (precision to the second) that the paste was posted. This is taken directly from the paste site when this information is available but may be null if no date is published.
The number of emails that were found when processing the paste. Emails are extracted by using the regular expression \b+(?!^.{256})[a-zA-Z0-9\.\-_\+]+@[a-zA-Z0-9\.\-_]+\.[a-zA-Z]+\b
None.
WebService::HIBP::Paste requires no configuration files or environment variables.
WebService::HIBP::Paste requires no non-core modules
None reported
Please report any bugs or feature requests to bug-webservice-hibp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-HIBP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-webservice-hibp at rt.cpan.org
David Dick, <ddick at cpan.org>
<ddick at cpan.org>
You can find documentation for this module with the perldoc command.
perldoc WebService::HIBP::Paste
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-HIBP
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-HIBP
CPAN Ratings
http://cpanratings.perl.org/d/WebService-HIBP
Search CPAN
http://search.cpan.org/dist/WebService-HIBP/
Thanks to Troy Hunt for providing the service at https://haveibeenpwned.com
POD was extracted from the API help at https://haveibeenpwned.com/API/v2
Copyright 2019 David Dick.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WebService::HIBP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::HIBP
CPAN shell
perl -MCPAN -e shell install WebService::HIBP
For more information on module installation, please visit the detailed CPAN module installation guide.