-
-
19 May 2016 20:32:02 UTC
- Distribution: WWW-SourceForge
- Module version: 0.73
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (594 / 25 / 0)
- Kwalitee
Bus factor: 1- 52.60% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (17.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Data::Dumper
- File::HomeDir
- JSON::Parse
- LWP::Authen::OAuth
- LWP::Simple
- LWP::UserAgent
- Test::More
- Test::Simple
- XML::Feed
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
new
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' );
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.
NAME
WWW::SourceForge - Interface to SourceForge's APIs - http://sourceforge.net/p/forge/documentation/API/ and https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/
SYNOPSIS
Usually you'll use this via WWW::SourceForge::Project and WWW::SourceForge::User rather than using this directly.
DESCRIPTION
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/
USAGE
use WWW::SourceForge; my $sfapi = new WWW::SourceForge;
See WWW::SourceForge::User and WWW::SourceForge::Project for details.
BUGS
None
SUPPORT
http://sourceforge.net/p/sfprojecttools/tickets/
AUTHOR
Rich Bowen CPAN ID: RBOW SourceForge rbowen@sourceforge.net http://sf.net
COPYRIGHT
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.
SEE ALSO
perl(1).
Module Install Instructions
To install WWW::SourceForge, copy and paste the appropriate command in to your terminal.
cpanm WWW::SourceForge
perl -MCPAN -e shell install WWW::SourceForge
For more information on module installation, please visit the detailed CPAN module installation guide.