NAME

WWW::Freelancer::Project - Provides methods to access information about a specific project.

VERSION

This document describes WWW::Freelancer::Project version 0.0.1

SYNOPSIS

use WWW::Freelancer;

my $freelancer = WWW::Freelancer->new();
my $project    = $freelancer->get_project(1000);

print 'Project ID: ',   $project->get_id(),   "\n";
print 'Project Name: ', $project->get_name(), "\n";
print 'Project URL: ',  $project->get_url(),  "\n";

DESCRIPTION

Provides methods to access information about a specific project.

INTERFACE

get_id()

Returns ID of the project.

get_name()

Returns title of the project.

get_url()

Returns URL of the project.

get_start_unixtime()

Returns time when project was started in UNIXTIME format.

get_start_date()

Returns time when the project was started in RFC 2822 format.

get_end_unixtime()

Returns time when the project bidding period ends in UNIXTIME format.

get_end_date()

Returns time when the project bidding period ends in RFC 2822 format.

get_buyer()

Returns a buyer object. Methods of the object:

get_url()

Returns URL of the buyer's profile.

get_id()

Returns ID of the buyer's username.

get_username()

Returns username of the buyer.

get_state()

Returns state of the project.

get_short_description()

Returns shortened text of the project's requirements.

get_options()

Returns an options object. Methods of the object:

is_featured()

Returns a boolean value. 1 if project is featured, 0 for normal projects.

is_nonpublic()

Returns a boolean value indicating if the project is public or not.

is_trial()

Returns a boolean value indicating if the project is trial or not.

is_fulltime()

Returns a boolean value indicating if the project is fulltime or not.

is_for_gold_members()

Returns a boolean value indicating if the project is for gold members or not.

is_hidden_bids()

Returns a boolean value indicating if bids for the project are hidden or not.

get_budget()

Returns a budget object. Methods of the object:

get_minimum()

Returns numeric value or empty if no minimum is specified.

get_maximum()

Returns numeric value or empty if no maximum is specified.

get_jobs()

Returns an array of jobs.

get_bid_stats()

Returns a bid stats object. Methods of the object:

get_count()

Returns number of bids or empty if bid statistics is not available.

get_average()

Returns average bid amount or empty if bid statistics is not available.

CONFIGURATION AND ENVIRONMENT

WWW::Freelancer::Project requires no configuration files or environment variables.

DEPENDENCIES

LWP::UserAgent

Not in CORE

JSON

Not in CORE

INCOMPATIBILITIES

None reported.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-www-freelancer@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

Alan Haggai Alavi <haggai@cpan.org>

SEE ALSO

LICENCE AND COPYRIGHT

Copyright (c) 2010, Alan Haggai Alavi <haggai@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.