19 May 2016 20:32:02 UTC
- Distribution: WWW-SourceForge
- Module version: 0.73
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (594 / 25 / 0)
- KwaliteeBus factor: 1
- 52.60% Coverage
- License: unknown
- Activity24 month
- Download (17.09KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Usage : 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' );
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.
WWW::SourceForge - Interface to SourceForge's APIs - http://sourceforge.net/p/forge/documentation/API/ and https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/
Usually you'll use this via WWW::SourceForge::Project and WWW::SourceForge::User rather than using this directly.
Implements 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/
use WWW::SourceForge; my $sfapi = new WWW::SourceForge;
See WWW::SourceForge::User and WWW::SourceForge::Project for details.
Rich Bowen CPAN ID: RBOW SourceForge firstname.lastname@example.org http://sf.net
This 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.
Module Install Instructions
To install WWW::SourceForge, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install WWW::SourceForge
For more information on module installation, please visit the detailed CPAN module installation guide.