WWW::Pinboard - https://pinboard.in/ API client
version 0.01
my $latest_post_sync_time = ...; my $api = WWW::Pinboard->new(token => $token); my $last_updated = $api->update->{update_time}; if ($last_updated ge $latest_post_sync_time) { my @posts = @{ $api->all(fromdt => $latest_post_sync_time) }; for my $post (@posts) { ...; } }
This module is a basic client for the https://pinboard.in/ API. It currently provides methods for each API method in the posts/ namespace (patches welcome to add support for more methods). Each method takes a hash of arguments, which correspond to the parameters documented in the API documentation at https://pinboard.in/api/.
posts/
Pinboard API token. You can access your API token at https://pinboard.in/settings/password.
URL of the API endpoint. Defaults to https://api.pinboard.in/v1/.
https://api.pinboard.in/v1/
No known bugs.
Please report any bugs to GitHub Issues at https://github.com/doy/www-pinboard/issues.
https://pinboard.in/
You can find this documentation for this module with the perldoc command.
perldoc WWW::Pinboard
You can also look for information at:
MetaCPAN
https://metacpan.org/release/WWW-Pinboard
Github
https://github.com/doy/www-pinboard
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Pinboard
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Pinboard
Jesse Luehrs <doy@tozt.net>
This software is Copyright (c) 2014 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
To install WWW::Pinboard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Pinboard
CPAN shell
perl -MCPAN -e shell install WWW::Pinboard
For more information on module installation, please visit the detailed CPAN module installation guide.