|
newUsage : my $sfapi = new WWW::SourceForge; Returns : WWW::SourceForge object Optionally pass an 'api' argument to select one of the other APIs. my $download_api = WWW::SourceForge->new( api => 'download' ); See https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/ call Usage : my $json = $sfapi->call(
method => whatever,
arg1 => 'value',
arg2 => 'another value',
format => 'rss',
);
Returns : Hashref, containing a bunch of data. Format defaults to
'json', but in some cases, you'll want to force rss because that's
how the return is available. Will try to make this smarter
eventually.
Calls a particular method in the SourceForge API. Other args are passed as args to that call. NAMEWWW::SourceForge - Interface to SourceForge's APIs - http://sourceforge.net/p/forge/documentation/API/ and https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/ SYNOPSISUsually you'll use this via WWW::SourceForge::Project and WWW::SourceForge::User rather than using this directly. DESCRIPTIONImplements a Perl interface to the SourceForge API, documented here: http://sourceforge.net/p/forge/documentation/API/ and here: https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/ USAGE use WWW::SourceForge;
my $sfapi = new WWW::SourceForge;
See WWW::SourceForge::User and WWW::SourceForge::Project for details. BUGSNone SUPPORThttp://sourceforge.net/p/sfprojecttools/tickets/ AUTHOR Rich Bowen
CPAN ID: RBOW
SourceForge
rbowen@sourceforge.net
http://sf.net
COPYRIGHTThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. SEE ALSOperl(1).
|