The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Kickstarter::Data::User::Myself - Kickstarter user data for the logged-in user

SYNOPSIS

   use WWW::Kickstarter;

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

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

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

DESCRIPTION

Kickstarter provides more information on the logged-in user than other users. This class extends WWW::Kickstarter::Data::User to provide that information.

API CALLS

This class provides the following API calls in addition to those provided by WWW::Kickstarter::Data::User.

notification_prefs

   my @notification_prefs = $myself->notification_prefs();

Fetches and returns the the logged-in user's notification preferences of backed projects as WWW::Kickstarter::Data::NotificationPref objects. The notification preferences for the project created last is returned first.

projects_created

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

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

projects_backed

   my $projects_iter = $myself->projects_backed(%opts);

Returns an iterator that fetches and returns the projects backed by the logged-in user as WWW::Kickstarter::Data::Project objects. The most recently backed project is returned first.

Note that some projects may be returned twice. This happens when the data being queried changes while the results are being traversed.

Options:

  • page => $page_num

    If provided, the pages of results before the specified page number are skipped.

projects_starred

   my $projects_iter = $myself->projects_starred(%opts);

Returns an iterator that fetches and returns the projects starred by the logged-in user as WWW::Kickstarter::Data::Project objects. The most recently starred project is returned first.

Note that some projects may be returned twice. This happens when the data being queried changes while the results are being traversed.

Options:

  • page => $page_num

    If provided, the pages of results before the specified page number are skipped.

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

See WWW::Kickstarter