NAME
WWW::Ohloh::API - Ohloh API implementation
SYNOPSIS
use WWW::Ohloh::API;
my $ohloh = WWW::Ohloh::API->new( api_key => $my_api_key );
my $account $ohloh->get_account( id => 12933 );
print $account->name;
DESCRIPTION
This module is a Perl interface to the Ohloh API as defined at http://www.ohloh.net/api/getting_started.
METHODS
new( [ api_key => $api_key ] )
Create a new WWW::Ohloh::API object. To be able to retrieve information from the Ohloh server, an api key must be either passed to the constructor or set via the set_api_key method.
my $ohloh = WWW::Ohloh::API->new( api_key => $your_key );
get_account( id => $account_id )
Return the account associated with the id, as a WWW::Ohloh::API::Account object. If no such account exists, an error is thrown.
my $account = $ohloh->get_account( id => 12933 );
SEE ALSO
Ohloh API reference: http://www.ohloh.net/api/getting_started
How to obtain an Ohloh API key: http://www.ohloh.net/api_keys/new
VERSION
This document describes WWW::Ohloh::API version 0.0.1
BUGS AND LIMITATIONS
WWW::Ohloh::API is very extremely alpha quality. It'll improve, but till then: Caveat emptor.
Please report any bugs or feature requests to bug-www-ohloh-api@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHOR
Yanick Champoux <yanick@cpan.org>
LICENCE AND COPYRIGHT
Copyright (c) 2008, 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 perlartistic.