WWW::Ohloh::API::Enlistment - an Ohloh enlistment
my $ohloh = WWW::Ohloh::API->new( api_key => $my_api_key );
my @enlistments = $ohloh->get_enlistments(
project_id => 12933,
W::O::A::Enlistment contains the information that join a project with a repository as defined at http://www.ohloh.net/api/reference/enlistment. To be properly populated, it must be created via the get_enlistments method of a WWW::Ohloh::API object.
my $id = $enlistment->id;
my $project_id = $enlistment->project_id;
my $repository_id = $enlistment->repository_id;
Return the id of the enlistment / project / repository.
my $repository = $enlistment->repository
Return the repository associated with the enlistment as a WWW::Ohloh::API::Repository object.
Return the account information as an XML string. Note that this is not the exact xml document as returned by the Ohloh server.
WWW::Ohloh::API, WWW::Ohloh::API::KudoScore, WWW::Ohloh::API::ContributorFact.
Ohloh API reference: http://www.ohloh.net/api/getting_started
Ohloh Account API reference: http://www.ohloh.net/api/reference/contributor_language_fact
This document describes WWW::Ohloh::API::ContributorLanguageFact version 0.0.6
WWW::Ohloh::API is very extremely alpha quality. It'll improve, but till then: Caveat emptor.
The as_xml() method returns a re-encoding of the account data, which can differ of the original xml document sent by the Ohloh server.
Please report any bugs or feature requests to email@example.com, or through the web interface at http://rt.cpan.org.
Yanick Champoux <firstname.lastname@example.org>
Copyright (c) 2008, Yanick Champoux <email@example.com>. 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.
To install WWW::Ohloh::API, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.