1######################################################################
2package Net::Amazon::Request::Blended;
3######################################################################
4use warnings;
5use strict;
6use base qw(Net::Amazon::Request);
7
8##################################################
9sub new {
10##################################################
11    my($class, %options) = @_;
12
13    $class->_assert_options_defined(\%options, 'blended');
14
15    $options{'SearchIndex'} = 'Blended';
16    $class->_convert_option(\%options,
17                            'blended',
18                            'Keywords');
19
20    my $self = $class->SUPER::new(%options);
21
22    bless $self, $class;   # reconsecrate
23}
24
251;
26
27__END__
28
29=head1 NAME
30
31Net::Amazon::Request::Blended - request class for 'Blended Search'
32
33=head1 SYNOPSIS
34
35  use Net::Amazon;
36  use Net::Amazon::Request::Blended;
37
38  my $ua = Net::Amazon->new(
39      token       => 'YOUR_AMZN_TOKEN'
40  );
41
42  my $req = Net::Amazon::Request::Blended->new(
43      blended => 'perl'
44  );
45
46  # Response is of type Net::Amazon::Response::Blended
47  my $resp = $ua->request($req);
48
49=head1 DESCRIPTION
50
51C<Net::Amazon::Request::Blended> is a class used to request
52I<Blended Searches> from the Amazon web service.
53
54The C<blended> parameter specifies the keyword search string
55for the blended query. C<mode> is not applicable to blended
56searches which returns books, music, etc all at once.
57
58Upon success, the response's C<properties()> method will return a list
59of C<Net::Amazon::Property::*> objects.
60
61=head2 METHODS
62
63=over 4
64
65=item new(keyword => $search_string)
66
67Constructs a new C<Net::Amazon::Request::Blended> object.
68
69See the "Amazon Web Services 2.1 API and Integration Guide" for details.
70
71=back
72
73Check L<Net::Amazon::Request> for common request parameters not listed here.
74
75=head1 AUTHORS
76
77Robert Graff, E<lt>rgraff@workingdemo.comE<gt>
78
79=cut
80