WWW::Kickstarter::Data::NotificationPref - Notification preferences for projects you backed
use WWW::Kickstarter; my $email = '...'; # Your Kickstarter login credentials my $password = '...'; my $ks = WWW::Kickstarter->new(); $ks->login($email, $password); my @notification_prefs = $ks->my_notification_prefs(); for my $notification_pref (@notification_prefs) { print("$notification_pref->project_name -- " ."email:".($notification_pref->by_email?"yes":"no")." " ."mobile:".($notification_pref->by_mobile?"yes":"no")."\n" ); }
my $notification_pref_id = $notification_pref->id;
Returns the numerical id of this notification preference.
my $project_id = $notification_pref->project_id;
Returns the numerical id of the project for which this notifcation preference applies.
my $project_name = $notification_pref->project_name;
Returns the name of the project for which this notifcation preference applies.
my $notify_by_email = $notification_pref->notify_by_email;
Returns true if the you wish to be notified of updates to the project identified by project_id by email.
project_id
my $notify_by_mobile = $notification_pref->notify_by_mobile;
Returns true if the you wish to be notified of updates to the project identified by project_id by mobile.
None. Notably, this object can't be refetched.
See WWW::Kickstarter
To install WWW::Kickstarter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Kickstarter
CPAN shell
perl -MCPAN -e shell install WWW::Kickstarter
For more information on module installation, please visit the detailed CPAN module installation guide.