NAME

WebService::Forrst - Wrapper for the forrst.com API

VERSION

Version 0.01

SYNOPSIS

This module interacts with the Forrst API.

use WebService::Forrst;

my $forrst = WebService::Forrst->new;
my $user_detals = $forrst->user_info(  username => 'Squeeks' );
my $user_posts  = $forrst->user_posts( username => 'Squeeks' );

ACHTUNG! RHYBUDD! ATTENTION!

This API is very young, very new and very incomplete. Things will change and move around. Please check the documentation and changelog before upgrading.

METHODS

new

Creates a new WebService::Forrst object.

user_info( user => $user, id => $user_id)

Request all the information about a user. You can either supply a name, or user ID but do not use both in the same call.

Will return a hashref containing all data on success, or a HTTP::Response object for debugging on fail.

user_posts( username => $user, since => $last_post)

Request posts by a specific user. Username is mandatory, and "since" will supply posts with ID numbers lower than

Will return a hashref containing all data on success, or a HTTP::Response object for debugging on fail.

AUTHOR

Squeeks, <squeek at cpan.org>

BUGS

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

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WebService::Forrst

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010 Squeeks.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.