The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

WebService::HabitRPG - Perl interface to the HabitRPG API

To install (stable version)

cpanm WebService::HabitRPG

You'll probably find it useful to have a ~/.habitrpgrc file that looks like the following:

[auth]
user_id   = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
api_token = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

You can get these values by going to Settings -> API in HabitRPG.

Use hrpg without any arguments to see command line help.

You can find documention of the stable release on the CPAN:

Using a Mac?

If you've got a weird error that Data::Alias fails to install on your Mac or other dtrace-friendly system, there's a patched version you can install with:

cpanm https://dl.dropbox.com/u/9702672/cpan/Data-Alias-1.16-dtrace-patched.tar.gz

Which contains the patches in RT #75156. Upgrading to Perl 5.14 or above should also work.

To develop / contribute

You can install the built module with cpanm WebService-HabitRPG-*.tar.gz