WebService::BasecampX - Perl interface to the bcx Basecamp API
use WebService::BasecampX; my $bc = WebService::BasecampX->new( username => $user, password => $pass, account_id => $account ); for my $project ( @{ $bc->projects } ) { say join( "\t", $project->{last_event_at}, $project->{name} ); my $todo_lists = $bc->project_todolists( project => $project->{id} ); # do something with $todo_lists }
WebService::BasecampX is a client implentation for the bcx Basecamp API
This module currently only supports the GET methods on the Basecamp API but provides 100% coverage for them. Thus, it provides full read-only access to the Basecamp API. Creating and modifying things is coming in a future release when I get enough tuits.
Optional and required arguments for the various methods are expected as named arguments to the method. See the synopsis call to project_todolists for example usage.
project_todolists
Show attatchments for all projects.
See the Basecamp API docs for this method for more information or a sample of returned data.
Returns the specified calendar.
Required arguments: calendar
calendar
Returns all the people with access to the calendar
Returns specified calnedar event.
Required arguments: calendar, event
event
Returns upcoming calendar events for the given calendar.
Returns past calendar events for the given calendar.
Returns all calendars, sorted alphabetically.
Returns specified document with all comments.
Required arguments: project, document
project
document
Shows documents for all projects.
Returns all events on the account, 50 per page
Optional arguments: since, page
since
page
Return a specified message
Required arguments: project, message
message
Returns all people on the account.
Returns a specified person.
Required arguments: person
person
Returns the current person.
Returns all todolists with todos assigned to the specified person.
Retrieve data for specified project.
Required arguments: project
Returns all the people with access to the project
Show attatchments for given project.
Required arguments: project, event
Returns upcoming calendar events for the project.
Returns past calendar events for the project.
Shows documents for specified project, alphabetically by title.
Shows active todolists for given project, sorted by position.
Shows completed todolists for given project.
Returns topics for given project, 50 per page.
Optional arguments: page
Retrieve data for all projects user has access to.
Retrieve data for all archived projects user has access to.
Returns the specified todo.
Required arguments: project, todo
todo
Returns the specified todolist, including the todos.
Required arguments: project, todolist
todolist
Show all active todolists for all projects.
Show completed todolists for all projects.
Returns all topics for the account, 50 per page.
Returns the content, comments, and attatchments for specified upload.
Required arguments: project, upload
upload
Mike Greb <michael@thegrebs.com>
Copyright 2013- Mike Greb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Basecamp API Docs
To install WebService::BasecampX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::BasecampX
CPAN shell
perl -MCPAN -e shell install WebService::BasecampX
For more information on module installation, please visit the detailed CPAN module installation guide.