Module: RECS4

Defined in:
lib/recs4/version.rb,
lib/recs4/operation.rb,
lib/recs4/xml/element.rb,
lib/recs4/xml/elements.rb

Overview

:nodoc:

Defined Under Namespace

Modules: VERSION, XML Classes: Operation

Constant Summary collapse

LOCALES =
[
  "ca",
  "de",
  "fr",
  "jp",
  "uk",
  "us",
]
DEFAULT_LOCALE =
"us"
WS_URLS =
{
  "ca" => "http://webservices.amazon.ca/onca/xml?Service=AWSECommerceService",
  "de" => "http://webservices.amazon.de/onca/xml?Service=AWSECommerceService",
  "fr" => "http://webservices.amazon.fr/onca/xml?Service=AWSECommerceService",
  "jp" => "http://webservices.amazon.co.jp/onca/xml?Service=AWSECommerceService",
  "uk" => "http://webservices.amazon.co.uk/onca/xml?Service=AWSECommerceService",
  "us" => "http://webservices.amazon.com/onca/xml?Service=AWSECommerceService",
}
OPERATIONS =

All operations of ECS4.0

{
  :browse_node_lookup       => "BrowseNodeLookup",
  :cart_add                 => "CartAdd",
  :cart_clear               => "CartClear",
  :cart_create              => "CartCreate",
  :cart_get                 => "CartGet",
  :cart_modify              => "CartModify",
  :customer_content_lookup  => "CustomerContentLookup",
  :customer_content_search  => "CustomerContentSearch",
  :help                     => "Help",
  :item_lookup              => "ItemLookup",
  :item_search              => "ItemSearch",
  :list_lookup              => "ListLookup",
  :list_search              => "ListSearch",
  :seller_listing_lookup    => "SellerListingLookup",
  :seller_listing_search    => "SellerListingSearch",
  :seller_lookup            => "SellerLookup",
  :similarity_lookup        => "SimilarityLookup",
  :transaction_lookup       => "TransactionLookup",
}
GLOBAL_PARAMS =

Common parameters of all operations

{
  :locale                   => "Locale",
  :associate_tag            => "AssociateTag",
  :version                  => "Version",
}
ITEM_LOOKUP_PARAMS =

Parameters of ItemLookup

{
  :item_id                  => "ItemId", 
  :id_type                  => "IdType", 
  :search_index             => "SearchIndex", 
  :merchant_id              => "MerchantId",
  :condition                => "Condition", 
  :delivery_method          => "DeliveryMethod", 
  :ispu_postal_code         => "ISPUPostalCode", 
  :offer_page               => "OfferPage", 
  :review_page              => "ReviewPage", 
  :variation_page           => "VariationPage",
  :response_group           => "ResponseGroup",
}
ITEM_SEARCH_PARAMS =

Parameters of ItemSearch

{
  :availability             => "Availability",
  :review_sort              => "ReviewSort",
  :search_index             => "SearchIndex",
  :keywords                 => "Keywords",
  :title                    => "Title",
  :power                    => "Power",
  :browse_node              => "BrowseNode",
  :artist                   => "Artist",
  :author                   => "Author",
  :actor                    => "Actor",
  :director                 => "Director",
  :audience_rating          => "AudienceRating",
  :manufacturer             => "Manufacturer",
  :music_label              => "MusicLabel",
  :composer                 => "Composer",
  :publisher                => "Publisher",
  :brand                    => "Brand",
  :conductor                => "Conductor",
  :orchestra                => "Orchestra",
  :text_stream              => "TextStream",
  :item_page                => "ItemPage",
  :sort                     => "Sort",
  :city                     => "City",
  :cuisine                  => "Cuisine",
  :neighborhood             => "Neighborhood",
  :minimum_price            => "MinimumPrice",
  :maximum_price            => "MaximumPrice",
  :merchantid               => "MerchantId",
  :condition                => "Condition",
  :delivery_method          => "DeliveryMethod",
  :response_group           => "ResponseGroup",
}
BROWSE_NODE_LOOKUP_PARAMS =

Parameter of BrowseNodeLookup

{
  :browse_node_id           => "BrowseNodeId",
  :response_group           => "ResponseGroup",
}
ALL_PARAMS =

All parameters

{}