NAME

WWW::Kickstarter::Data::User - Kickstarter user data

SYNOPSIS

use WWW::Kickstarter;

my $email    = '...';  # Your Kickstarter login credentials
my $password = '...';

my $ks = WWW::Kickstarter->new();
$ks->login($email, $password);

my $iter = $ks->projects_ending_soon();
while (my ($project) = $iter->get()) {
   print($project->creator->name, "\n");
}

ACCESSORS

id

my $user_id = $user->id;

Returns the numerical id of the user.

slug

my $user_slug = $user->slug;

Returns self-selected keyword id of the user, or undef if it's not available or if it doesn't have one.

name

my $user_name = $user->name;

Returns the user's name.

location

my $location = $user->location;

Returns the location of the user as an WWW::Kickstarter::Data::Location object.

API CALLS

refetch

$user = $user->refetch();

Refetches this user from Kickstarter.

This ensures the data is up to date, and it will populate fields that may not be provided by objects created by some API calls.

projects_created

my @projects = $user->projects_created();

Fetches and returns the projects created by the specified user as WWW::Kickstarter::Data::Project objects. The project created last is returned first.

VERSION, BUGS, KNOWN ISSUES, DOCUMENTATION, SUPPORT, AUTHOR, COPYRIGHT AND LICENSE

See WWW::Kickstarter