Zappos Image

$image = eden('zappos')->image('[API_KEY]');
Figure 1. Image Methods
Method Arguments Returns Description
$image->setProductId($productId);
  1. string|int
Eden_Zappos_Image Set product id
$image->setStyleId($styleId);
  1. string|int
Eden_Zappos_Image Set style id
$image->includeColorId(); none Eden_Zappos_Image Include color id in reusult
$image->includeWidth(); none Eden_Zappos_Image Include width in reusult
$image->includeHeight(); none Eden_Zappos_Image Include height in reusult
$image->includeUploadDate(); none Eden_Zappos_Image Include upload date in reusult
$image->includeResolution(); none Eden_Zappos_Image Include resolution id in reusult
$image->includeTitle(); none Eden_Zappos_Image Include title in reusult
$image->setImageType($imageType);
  1. string
Eden_Zappos_Image Set image type. An image Type is a particular angle shot of an item. e.g. PAIR, LEFT, RIGHT, TOP and etc.
$image->setImageRecipe($imageRecipe);
  1. string
Eden_Zappos_Image Set sizing transformation for an image
$image->getResponse(); none Eden_Zappos_Image Search Image

© 2012 Openovate Labs. All rights reserved.