WWW::Ohloh::API::ContributorLanguageFact - Ohloh stats about a project's contributor for a specific language
use WWW::Ohloh::API; my $ohloh = WWW::Ohloh::API->new( api_key => $my_api_key ); my @facts = $ohloh->get_contributor_language_facts( project_id => 12933, contributor_id => 1234 );
W::O::A::ContributorLanguageFact contains the information associated with a language-specific contribution of a member of a project as defined at http://www.ohloh.net/api/reference/contributor_language_fact. To be properly populated, it must be created via the get_contributor_language_facts method of a WWW::Ohloh::API object.
get_contributor_language_facts
Return the id of the analysis which provided the data for the contributor_language_fact.
Return the id of the contributor, which is unique within the scope of the project, but not globally.
Return the name used by the contrinutor when committing to the source control server.
Return the id of the language measured.
Return the name of the language measured.
Return the ratio of lines committed by this contributor that are comments.
The total number of months for which this contributor made at least one commit.
Return the total number of commits made by this contributor.
Return the median number of commits by this contributor by active month.
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.
as_xml()
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.
bug-www-ohloh-api@rt.cpan.org
Yanick Champoux <yanick@cpan.org>
<yanick@cpan.org>
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.
To install WWW::Ohloh::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Ohloh::API
CPAN shell
perl -MCPAN -e shell install WWW::Ohloh::API
For more information on module installation, please visit the detailed CPAN module installation guide.