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

NAME

WebService::HackerNews::User - a data object representing a HackerNews registered user

SYNOPSIS

 use WebService::HackerNews::User;
 my $item = WebService::HackerNews::Item->new(
                id    => 'frodo',
                karma => 1234,
                # more attributes
            );

DESCRIPTION

This module is a class for data objects returned by the user() method of WebService::HackerNews.

The objects have the following attributes, which are named after properties listed in the Item documentation:

  • id - The user's unique username. Case-sensitive. Required.

  • delay - Delay in minutes between a comment's creation and its visibility to other users.

  • created - Creation date of the user, in Unix Time.

  • karma - The user's karma.

  • about - The user's optional self-description. HTML.

  • submitted - List of the user's stories, polls and comments.

SEE ALSO

WebService::HackerNews

REPOSITORY

https://github.com/neilbowers/WebService-HackerNews

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Neil Bowers <neilb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.