Net::Amazon::Validate::ItemSearch

Net::Amazon::Validate::ItemSearch is a Perl module to validate ItemSearch requests.
Download

Net::Amazon::Validate::ItemSearch Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Christopher Boumenot
  • Publisher web site:
  • http://search.cpan.org/~boumenot/Net-Amazon-0.39/lib/Net/Amazon/Validate/ItemSearch.pm

Net::Amazon::Validate::ItemSearch Tags


Net::Amazon::Validate::ItemSearch Description

Net::Amazon::Validate::ItemSearch is a Perl module to validate ItemSearch requests. Net::Amazon::Validate::ItemSearch is a Perl module to validate ItemSearch requests.SYNOPSIS Net::Amazon::Validate::ItemSearch; my $valid = Net::Amazon::Validate::ItemSearch::factory(search_index => 'Actor'); my $option = $itemsearch_valid->user_or_default($input); my $default = $itemsearch_valid->default();Net::Amazon::Validate::ItemSearch is a class used to verify ItemSearch operation based on the current version of the WSDL and locale. For example if an Artist search is executed the user can search against Classical, Merchants, or Music.METHODSfactory(search_index => type)Constructs a new Net::Amazon::Validate::ItemSearch object, used to validate user input for a SearchIndex. Valid types include Actor, Artist, AudienceRating, Author Brand, BrowseNode, City, Composer, Condition, Conductor, Count, Cuisine, DeliveryMethod, Director, ISPUPostalCode, ItemPage, Keywords, MPAARating, Manufacturer, MaximumPrice, MerchantId, MinimumPrice, MusicLabel, Neighborhood, Orchestra, Power, Publisher, Sort, TextStream and Title. Which departments these search indexes are valid for is dependent upon locale.default()Return the default value for a given SearchIndex. Default are determined in order of preference and existence from the following list: Books, Music, DVD, Software. If none of those items are valid for a given SearchIndex then the first valid department of said SearchIndex is used.user_or_default( $input )If user input is specified it validates the input, and return it, otherwise it returns the default value for the SearchIndex. Requirements: · Perl


Net::Amazon::Validate::ItemSearch Related Software