WWW::Ohloh::API::Kudo - an Ohloh kudo
my $ohloh = WWW::Ohloh::API->new( api_key => $my_api_key );
my $account = $ohloh->get_account( id => 12933 );
my @received = $account->received_kudos;
# or, from $ohloh directly
my @sent = $ohloh->get_kudos( id => 12933 )->sent;
W::O::A::Kudo contains the information associated with an Ohloh kudo as defined at http://www.ohloh.net/api/reference/kudo. To be properly populated, it must be created via the get_kudos method of a WWW::Ohloh::API object, or via the received_kudos/sent_kudos methods of a WWW::Ohloh::API::Account object.
Return the kudo's creation time.
Return the id/name of the account sending the kudo.
Return the id/name associated with the account that received the kudo, or an empty string if the kudo couldn't be linked to an account.
Return the project id/name if the kudo was sent to a project contributor instead than an account, or an empty string otherwise.
Return the cotnributor's id/name if the kudo was sent to a project contributor instead than an account, or an empty string otherwise.
Return the kudo 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::Kudos, WWW::Ohloh::API::KudoScore.
Ohloh API reference: http://www.ohloh.net/api/getting_started
Ohloh Account API reference: http://www.ohloh.net/api/reference/kudo
This document describes WWW::Ohloh::API version 0.3.2
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.