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

NAME

PX::API::Request - A Peekshows Web Services API request.

SYNOPSIS

    use PX::API;
    use PX::API::Request;

    my $px = PX::API->new({
                        api_key => '13243432434',  #Your api key
                        secret  => 's33cr3tttt',   #Your api secret
                        });

    my $req = PX::API::Request->({
                        method  => 'px.test.echo',
                        args    => {},
                        });

    my $resp = $px->execute_request($req);

DESCRIPTION

A Peekshows Web Services API request object. PX::API::Request is an HTTP::Request subclass, allowing access to any request parameters.

METHODS/SUBROUTINES

new($args)

Constructs a new PX::API::Request object. The $args passed to this constructor must contain a method to call. Optionally the constructor will accept args as a list of arguments to pass with the API request.

DEPENDENCIES

HTTP::Request

SEE ALSO

PX::API http://www.peekshows.com http://services.peekshows.com

AUTHOR

Anthony Decena <anthony@1bci.com>

LICENCE AND COPYRIGHT

Copyright (c) 2007, Anthony Decena <anthony@1bci.com>. 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.