
WWW::FreshMeat::API - inspect & update your freshmeat.net projects

Version 0.01

use WWW::FreshMeat::API;
my $fm = WWW::FreshMeat::API->new;
$fm->login( username => 'user', password => 'pass' );
say "Your ID for this API session (SID) is ", $fm->sid;
for my $proj ( @{ $fm->fetch_project_list } ) {
say "Project ", $proj->{ projectname_full };
say "- short name ", $proj->{ projectname_short };
say "- status" ", $proj->{ project_status };
say "- version ", $proj->{ project_version };
}

FreshMeat (http://freshmeat.net) provides a very simple XML-RPC API which allows a user to inspect what projects the user as uploaded and also provides an update & withdrawal mechanism of the users projects.
Requirements....
1) Must have a FreshMeat login & password
2) Must have already loaded project onto http://freshmeat.net
For now see ./examples/freshmeat-submit.pl.
More details to follow.

None

For session methods see WWW::FreshMeat::API::Session
For Freshmeats public API which are mapped to methods see WWW::FreshMeat::API::Pub & WWW::FreshMeat::API::Pub::V1_03

Constructor only testing attribute. Not sure this will survive alpha so ignore for now!

Barry Walsh, <draegtun at cpan.org>

Please report any bugs or feature requests to bug-www-freshmeat-api at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-FreshMeat-API. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.
perldoc WWW::FreshMeat::API
You can also look for information at:

There certainly was! More on that later ;-)

Thanks to Stevan Little and cast of thousands for the brilliant Moose module. Using Moose really made developing this module simple and lots of fun!
Thanks to Niek Albers, http://www.daansystems.com/ for his excellent XML::RPC module.

GitHub at http://github.com/draegtun/www-freshmeat-api/tree/master
Python script written by ESR no less! http://freshmeat.net/projects/freshmeat-submit/
freshmeat-submit was written in 2003 and last updated 2004. I didn't find freshmeat-submit to be useful to me when writing WWW::FreshMeat::API. Fingers crossed WWW::FreshMeat::API won't look as crufty as freshmeat-submit does after 5 and bit years ;-)

This is alpha software. It does not contain necessary tests & checks yet ;-(
However FreshMeat API is very simple & WWW::FreshMeat::API does work for me.
I hope to make it beta status very shortly!

Copyright 2009 Barry Walsh (Draegtun Systems Ltd), all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.