WWW::Ohloh::API::Stack - a collection of projects used by a person
use WWW::Ohloh::API; my $ohloh = WWW::Ohloh::API->new( api_key => $my_api_key ); # get the stack of a person my $stack = $ohloh->get_account_stack( $account_id ); # get stacks containing a project my @stacks = $ohloh->get_project_stacks( $project_id );
W::O::A::Stack represents a collection of projects used by a person.
Returns the unique id for the stack.
Returns the most recent time at which any projects were added to or removed from this stack.
Returns the number of projects in the stack.
Returns an array of the entries contained by the stack (see WWW::Ohloh::API::StackEntry).
Returns the id of the account owning the stack.
$account = $stack->account( $retrieve );
Returns the account associated to the stack as a WWW::Ohloh::API::Account object.
If the account information was not present at the object's creation time, it will be queried from the ohloh server, unless $retrieve is defined and set to false.
Return the stack as an XML string. Note that this is not the same xml document as returned by the Ohloh server.
WWW::Ohloh::API.
Ohloh API reference: http://www.ohloh.net/api/getting_started
Ohloh Account API reference: http://www.ohloh.net/api/reference/stack
This document describes WWW::Ohloh::API version 0.2.0
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.
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.