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

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);

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

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.


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

Anthony Decena <anthony@1bci.com>

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.