- SEE ALSO
- BUGS AND LIMITATIONS
- LICENCE AND COPYRIGHT
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.
API Data Accessors
Returns the unique id for the stack.
Returns the most recent time at which any projects were added to or removed from this stack as a Time::Piece object.
Returns the number of projects in the stack.
Returns a list of the entries contained by the stack as WWW::Ohloh::API::StackEntry objects.
Returns the id of the account owning the 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.
Returns the stack as an XML string. Note that this is not the same xml document as returned by the Ohloh server.
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.3.2
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
email@example.com, or through the web interface at http://rt.cpan.org.
LICENCE AND COPYRIGHT
Copyright (c) 2008, Yanick Champoux
<firstname.lastname@example.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.