
Net::Delicious - OOP for the del.icio.us API

use Net::Delicious;
use Log::Dispatch::Screen;
my $del = Net::Delicious->new({user=>"foo",
pswd=>"bar"});
foreach my $p ($del->recent_posts()) {
print $p->description()."\n";
}

OOP for the del.icio.us API

Valid arguments are :
String. required
Your del.icio.us username.
String. required
Your del.icio.us password.
Boolean.
Add a Log::Dispatch::Screen dispatcher to log debug (and higher) notices. Notices will be printed to STDERR.
Returns a Net::Delicious object. Woot!

Makes a post to del.icio.us.
Valid arguments are :
String. required
Url for post
String.
Description for post.
String.
Extended for post.
String.
Space-delimited list of tags.
String.
Datestamp for post, format "CCYY-MM-DDThh:mm:ssZ"
Returns true or false.
Get a list of dates with the number of posts at each date.
Valid arguments are :
String.
Filter by this tag.
Returns a list of Net::Delicious::Date objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
Get a list of most recent posts, possibly filtered by tag.
Valid arguments are :
String.
Filter by this tag.
Int.
Number of items to retrieve (defaults to 15)
Returns a list of Net::Delicious::Post objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
Get a list of posts on a given date, filtered by tag. If no date is supplied, most recent date will be used.
Valid arguments are :
String.
Filter by this tag.
String.
Filter by this date.
Returns a list of Net::Delicious::Post objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
Returns a list of tags.
Renames tags across all posts.
Valid arguments are :
String. required
Old tag
String. required
New tag
Returns true or false.
Get a list of inbox entries.
Valid arguments are :
String.
Filter by this date
Returns a list of Net::Delicious::Post objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
Get a list of dates containing inbox entries.
Returns a list of Net::Delicious::Date objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
This may be updated to return a Net::Delicious::Inbox object.
Get a list of your subscriptions.
Returns a list of Net::Delicious::Subscription objects when called in an array context.
Returns a Net::Delicious::Iterator object when called in a scalar context.
Adds a subscription.
Valid arguments are :
String. required
Username.
String.
Tag - leave blank for all posts
Returns true or false.
Valid arguments are :
String. required
Username.
String.
Tag - leave blank for all posts
Returns true or false.
Returns a Log::Dispatch object.

Errors are logged via the object's logger method which returns a Log::Dispatch object. If you want to get at the errors it is up to you to provide it with a dispatcher.

0.5

$Date: 2004/03/08 23:00:02 $

Aaron Straup Cope <ascope@cpan.org>


The version number (0.5) reflects the fact the del.icio.us API still has a great big "I am a moving target" disclaimer around its neck.
This package implements the API in its entirety as of DATE.

Copyright (c) 2004, Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.