NAME
WebService::Stikkit - Perl interface to the Stikkit API
VERSION
version 0.0.1
SYNOPSIS
use WebService::Stikkit;
my $stikkit = WebService::Stikkit->new({key => 'myxxxkey});
# OR
my $stikkit = WebService::Stikkit->new({email => 'myemail\@mail.com', passwd => 'mypass'});
DESCRIPTION
Stikkit makes organizing your daily details as simple as jotting down a note or firing off email. Stikkit's "little yellow notes that think" talk to the productivity applications you already use, as well as to friends, coworkers and family, giving you a universal remote for your life.
For more informations about stikkit visit http://stikkit.com/
export your api_key in your shell for running tests like this :
export STIKKIT_API_KEY=mysuperscretapikey
METHOD
new({api_key => ', user => 'myuser', passwd => 'passwd', format => 'json'})
Call new() to create a new Stickkit object. You can pass the format parameter to choose between Atom/iCal/vCal/json/Text
my $stikkit = WebService::Stickkit->new({api_key => 'myapikey', format => 'Atom'});
# OR
my $stikkit = WebService::Stickkit->new({user => 'myuser', passwd => 'mypass'-, format => 'iCal'});
You can choose a format for each method later when calling the methods.
stikkits({kind => ['peeps', 'todos', 'events', 'bookmars']})
Ask for the first 25 stikkits without applying any sort of filtering Specify kind, and get back what kind of stikkit you want
stikkit_create({text => "your text"})
Create a stikkit with a given text Data are stored in self->stikkit
stikkit_get({id => 1})
Retrieve a single stikkit by supplying its id You can specify the format Data are stored in self->stikkit
stikkit_update({id => 1, text => "my updated text"})
Update an existing stikkit, give an ID and the new text Data are stored in self->stikkit
stikkit_delete({id => 1})
Delete a stikkit
stikkit_comments_listing({id => 1})
Returns a list of a particular stikkit's comments Data are stored in self->comments
stikkit_comment_make({id => 1, text => "my text"})
Add a new comment to a particular stikkit Data are stored in self->comment
stikkit_share({id => 1, email => 'some.user\@mail.com})
Share a stikkit
stikkit_unshare({id => 1, email => 'some.user\@mail.com})
Unshare a stikkit
calendars
todos
done
peeps
bookmarks
tags
Return a list of all your tags in Atom format
check_format
check_api_key
finalize_url
process
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-webservice-stikkit@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHOR
franck cuny <franck.cuny@gmail.com>
LICENCE AND COPYRIGHT
Copyright (c) 2007, franck cuny <franck.cuny@gmail.com>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.