AnyEvent-WebService-Tracks
view release on metacpan or search on metacpan
lib/AnyEvent/WebService/Tracks.pm view on Meta::CPAN
my $tracks = AnyEvent::WebService::Tracks->new(
url => 'http://my.tracks.instance/',
username => 'user',
password => 'pa55w0rd',
);
$tracks->projects(sub {
my ( $projects ) = @_;
say foreach @$projects;
});
AnyEvent->condvar->recv;
=head1 DESCRIPTION
AnyEvent::WebService::Tracks talks to Tracks' API from an AnyEvent loop, using
AnyEvent::HTTP.
Before you go ahead and use this module, please make sure you run the test suite
lib/AnyEvent/WebService/Tracks/Context.pm view on Meta::CPAN
=head1 VERSION
0.02
=head1 SYNOPSIS
$tracks->create_context($name, sub {
my ( $context ) = @_;
say $context->name;
});
=head1 DESCRIPTION
AnyEvent::WebService::Tracks::Context objects represent GTD contexts in a
Tracks installation.
=head1 READ-ONLY ATTRIBUTES
=head2 created_at
lib/AnyEvent/WebService/Tracks/Project.pm view on Meta::CPAN
=head1 VERSION
0.02
=head1 SYNOPSIS
$tracks->create_project($name, sub {
my ( $project ) = @_;
say $project->name;
});
=head1 DESCRIPTION
AnyEvent::WebService::Tracks::Project objects represent GTD projects
in a Tracks installation.
=head1 READ-ONLY ATTRIBUTES
=head2 completed_at
lib/AnyEvent/WebService/Tracks/Todo.pm view on Meta::CPAN
=head1 VERSION
0.02
=head1 SYNOPSIS
$tracks->create_todo($description, $context, sub {
my ( $todo ) = @_;
say $todo->description;
});
=head1 DESCRIPTION
AnyEvent::WebService::Tracks::Todo objects represent GTD todo items
in a Tracks installation.
=head1 READ-ONLY ATTRIBUTES
=head2 completed_at
( run in 3.578 seconds using v1.01-cache-2.11-cpan-483215c6ad5 )