NAME
WebService::SlimTimer - Provides interface to SlimTimer web service.
VERSION
version 0.001
SYNOPSIS
This module provides interface to http://www.slimtimer.com/ functionality.
Notice that to use it you must obtain an API key by creating an account at SlimTimer web site.
METHODS
login
Logs in to SlimTimer using the provided login and password.
This method must be called before doing anything else with this object.
list_tasks
Returns the list of all tasks involving the logged in user, completed or not.
create_task
Create a new task with the given name.
delete_task
Delete the task with the given id (presumably previously obtained from list_tasks).
get_task
Find the given task by its id.
complete_task
Mark the task with the given id as being completed.
list_entries
Return all the time entries.
If the optional start
and/or end
parameters are specified, returns only the entries that begin after the start date and/or before the end one.
list_task_entries
Return all the time entries for the given task.
Just as list_entries, this method accepts optional start
and end
parameters to restrict the dates of the entries retrieved.
get_entry
Find the given time entry by its id.
create_entry
Create a new time entry.
Notice that the time stamps should normally be in UTC and not local time or another time zone.
If the end
parameter is not specified, it defaults to now.
Returns the entry that was created.
update_entry
Changes an existing time entry.
delete_entry
Deletes a time entry.
SEE ALSO
WebService::SlimTimer::Task, WebService::SlimTimer::TimeEntry
BUGS
Currently the offset
parameter is not used by list_tasks
and list_entries
and list_task_entries
methods, so they are limited to 50 tasks for the first one and 5000 entries for the latter two and accessing the subsequent results is impossible.
Access to the comments and tags of the tasks and time entries objects is not implemented yet.
AUTHOR
Vadim Zeitlin <vz-cpan@zeitlins.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Vadim Zeitlin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.