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

NAME

account_sample.pl - Simple example of using the Ohloh API from Perl

SYNOPSIS

account_sample.pl api_key email

DESCRIPTION

This is a small example of how to use the Ohloh API from Perl, mimicking the Ruby example given at http://www.ohloh.net/api/examples.

Detailed information about the Ohloh API can be found at http://www.ohloh.net/api.

The script takes an API key and the email address of a developer registered on Ohloh as parameters, and prints out all the information of that account.

EXAMPLE

    ./account_sample.pl YOUR_API_KEY_HERE robin@ohloh.net

DEPENDENCIES

This script uses LWP::Simple (to query the Ohloh website), Digest::MD5 (to MD5s the email address as requested by the API) and XML::Simple (to parse the server's answer).

VERSION

This documentation refers to account_sample version 0.1

AUTHOR

Yanick Champoux (yanick@cpan.org)

LICENCE AND COPYRIGHT

Copyright (c) 2007 Yanick Champoux (yanick@cpan.org). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.