<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
 <title>ShopStyle Developer Blog</title>
 <link>http://developer.shopstyle.com</link>
 <description>Feed their habit.</description>
 <language>en</language>
 <atom:link href="http://developer.shopstyle.com/tag/xml/rss" rel="self" type="application/rss+xml" />
<item>
 <title>API Documentation</title>
 <link>http://developer.shopstyle.com/1898971</link>
 <description>&lt;a href=&quot;http://developer.shopstyle.com/1898971&quot;&gt;&lt;/a&gt;&lt;p&gt;
&lt;style type=&quot;text/css&quot;&gt;&lt;!--
	/* note collapsing margins don&#039;t seem to work on tables, so wrap a div with this class around
	   the table that holds the param names and descriptions */
	.paramList {
	    margin:10px 20px 10px 32px;
	    line-height:15px;
            font-size: 11px;
	}

	.paramName {
	    font-family: Courier, monospace;
	    font-weight: bold;
	    width: 70px;
	    padding-right: 20px;
	    vertical-align: top;
            font-size:12px;
	}

	.paramDescription {
	    vertical-align: top;
	    margin-bottom: 9px;
            font-size:11px;
	}

	ul.paramValuesList {
	    margin: 8px 0px 2px 0px;
	}

	.paramValuesList li {
	    margin-bottom: 4px;
	}

	.pageTitle {
	    margin:8px 0px 15px;
	    text-align:center;
	    font-size:24px;
	    font-weight:bold;
	    width:100%;
	}

	.section {
	    margin:0px 18px;
	}

	.sectionTitle {
	    margin:34px 0px 12px;
	    font-size:18px;
	    font-weight:bold;
		color: #7F7F7F;
	}

	.subTitle {
	    margin:16px 0px 8px;
	    font-size:12px;
	    font-weight:bold;
	    color: #7F7F7F;
	}

	.method {
	    margin:12px 0px 30px;
	}

	.methodTitle {
	    margin:12px 0px;
	    font-family:Courier, monospace;
	    font-size:16px;
	    font-weight:bold;
		color: #7F7F7F;
	}

	.description {
	}

   .note {
            border:1px solid #CCCCCC;
            padding:8px;
            font-size:12px;
            font-style:bold;
			font-family:Courier, monospace;
        }
--&gt;&lt;/style&gt;
&lt;/p&gt;
&lt;div class=&quot;pageTitle&quot;&gt;ShopStyle API Developer&#039;s Guide&lt;/div&gt;
&lt;div class=&quot;sectionTitle&quot;&gt;Overview&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;description&quot;&gt;Welcome to the Shopstyle developer portal! The &lt;b&gt;ShopStyle API&lt;/b&gt; allows client applications to retrieve the underlying data for all the basic     elements of the ShopStyle     websites, including products, brands, retailers, categories and looks.  For ease of development, the API is a     &lt;b&gt;REST-style web service&lt;/b&gt;, composed of simple HTTP GET requests.  Data is returned to the client in either &lt;b&gt;XML&lt;/b&gt; or &lt;b&gt;JSON&lt;/b&gt; formats.  The API is client language independent, and easy to use from PHP, Java, JavaScript or     any other modern development context.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;description&quot;&gt;To use the ShopStyle API, you need to first &lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/page/DeveloperHome?pid=22161&amp;pdata=onsugar1882991,1898971&quot;&gt;sign up here&lt;/a&gt; to get your unique API key. Once you have this key you can start making the API calls described below.&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Intended Audience&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This document is intended for programmers who would like to develop a client application that will     use the ShopStyle API.  The client will need to know how to invoke an HTTP request with a particular URL, and process     the body of the response as either XML or JSON.&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;How to Use the API&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;Here are the basic steps for using the API, regardless of the client language you are using:     &lt;ol&gt;
&lt;li&gt;Choose the method that returns the data your application needs.  For example, the apiSearch method is used             to get products that match a given category or brand.&lt;/li&gt;
&lt;li&gt;Contruct a URL for that method with the appropriate host, method name and query parameters. &lt;/li&gt;
&lt;li&gt;Invoke the URL as an HTTP GET.&lt;/li&gt;
&lt;li&gt;When the HTTP response arrives, extract the required data elements from the response&#039;s body.&lt;/li&gt;
&lt;/ol&gt; The rest of this document describes the details of constructing the right URL for each of the API&#039;s methods.     The XML format of the reponses may be seen by clicking on the sample URLs shown for each method.  The responses     in JSON format contain identical information, just in a different language.     &lt;br /&gt;&lt;br /&gt; There is also a &lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://developer.shopstyle.com/2085418?pid=22161&amp;pdata=onsugar1882991,1898971&quot;&gt;sample client application&lt;/a&gt; written in PHP.&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;ShopStyle API URLs&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;All ShopStyle API URLs have the following form:
&lt;div class=&quot;code&quot;&gt;http://api.shopstyle.com/action/METHOD_NAME?pid=YOUR_API_KEY&amp;amp;format=FORMAT&amp;amp;site=SITE&amp;amp;...&lt;/div&gt;
The &lt;i&gt;METHOD_NAME&lt;/i&gt; is taken from the list of &lt;a href=&quot;#methods&quot;&gt;methods&lt;/a&gt; in the API shown below.&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Common API Parameters&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;All methods in the API accept these parameters:
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;pid&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;Unique API_KEY string that is assinged to the caller. If you haven&#039;t signed up yet, &lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/page/DeveloperHome?pid=22161&amp;pdata=onsugar1882991,1898971&quot;&gt;sign up  here&lt;/a&gt; to get your Shopstyle API key. &lt;b&gt;This parameter must be present&lt;/b&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;
&lt;p&gt;format&lt;/p&gt;
&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The format of the response. Supported values are:                                                                                                      
&lt;ul class=&quot;paramValuesList&quot;&gt;
&lt;li&gt;xml - The response is in XML format with UTF-8 encoding.  This is the default if the parameter is absent. &lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.json.org&quot; target=&quot;_blank&quot;&gt;json&lt;/a&gt; - The response is in JSON format with UTF-8 encoding. &lt;/li&gt;
&lt;li&gt;jsonvar - The response is in JSON format with UTF-8 encoding, and includes a JavaScript assignment             statement.  This is useful when the API URL is the src attribute of a script tag, as the result is stored             in a variable that can be used by subsequent JavaScript code. &lt;/li&gt;
&lt;li&gt;rss - The response is an RSS feed (beta).&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;site&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;Specifies the ShopStyle website to be searched or queried (optional; defaults to US fashion).        
&lt;ul class=&quot;paramValuesList&quot;&gt;
&lt;li&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com?pid=22161&amp;pdata=onsugar1882991,1898971&quot; title=&quot;www.shopstyle.com&quot;&gt;www.shopstyle.com&lt;/a&gt; - provides access to US fashion &amp;amp; home products.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.shopstyle.co.uk&quot; title=&quot;www.shopstyle.co.uk&quot;&gt;www.shopstyle.co.uk&lt;/a&gt; - provides access to UK fashion products.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;&lt;a name=&quot;prodQueryParams&quot;&gt;Product Query Parameters&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;Many of the methods listed in the next section accept this set of optional &lt;b&gt;product query parameters&lt;/b&gt;, which are similar to query parameters used by the ShopStyle websites:
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;fts&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;Text search terms, as a user would enter in a Search: field.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;cat&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;A product category. Only products within the category will be returned.  The easiest way to find values for this parameter is to browse to a category on the ShopStyle website, and take the  last element of the URL path, e.g., from &lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/browse/dresses?pid=22161&amp;pdata=onsugar1882991,1898971&quot; title=&quot;http://www.shopstyle.com/browse/dresses&quot;&gt;http://www.shopstyle.com/browse/dresses&lt;/a&gt; use &quot;dresses&quot;. Another way is to look at the categories of the products returned by the &lt;code&gt;apiSearch&lt;/code&gt; or to look at the list of categories from &lt;code&gt;apiGetCategoryHistogram&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;fl&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;
&lt;p&gt;Specify one or more filters on the query for brand, retailer, price, discount, and/or size.  Each filter value has an initial letter and a numeric id.  The easiest way to construct a filter list is to do a search on ShopStyle, select one or more filter in the UI, and copy the resulting URL.  To convert brand or retailer names to ids, use the &lt;code&gt;apiGetBrands&lt;/code&gt; and &lt;code&gt;apiGetRetailers&lt;/code&gt; calls.  Here is a sample URL showing sale clothing from two brands and one retailer:&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;Andale Mono&#039;;&quot;&gt;&lt;a style=&quot;outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; padding: 0px; margin: 0px;&quot; onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/browse/womens-clothes?fl=b3510&amp;amp;fl=b689&amp;amp;fl=r21&amp;amp;fl=r94&amp;pid=22161&amp;pdata=onsugar1882991,1898971&quot;&gt;http://www.shopstyle.com/browse/womens-clothes?fl=d0&amp;amp;fl=b3510&amp;amp;fl=b689&amp;amp;fl=r21&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
Filter prefixes are:                          
&lt;ul&gt;
&lt;li&gt;b - brand&lt;/li&gt;
&lt;li&gt;r - retailer&lt;/li&gt;
&lt;li&gt;p - price&lt;/li&gt;
&lt;li&gt;d - sale&lt;/li&gt;
&lt;li&gt;s - size&lt;/li&gt;
&lt;li&gt;c - color&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;pdd&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;A &quot;price drop date&quot; expressed as a number of milliseconds since Jan 1, 1970. If present, limits the results to products whose price has dropped since the given date.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;prodid&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The id of a specific product to return.  This may be specified multiple times to       get many products in one response.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionTitle&quot;&gt;&lt;a name=&quot;methods&quot;&gt;Methods of the API&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;&lt;a name=&quot;search&quot;&gt;apiSearch&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns a set of products that match a query, specified using the &lt;a href=&quot;#prodQueryParams&quot;&gt;product query parameters&lt;/a&gt; and those listed bellow.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiSearch?pid=uid9616-726296-93&amp;amp;fts=red+dress&amp;amp;min=0&amp;amp;count=10&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiSearch?pid=YOUR_API_KEY&amp;amp;fts=red+dress&amp;amp;min=0&amp;amp;count=10&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;min&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The index of the first product to return, or 0 (zero) if not specified. A client can use       this to implement paging through large result sets.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;count&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The maximum number of results to return, or 20 if not specified. Requesting too many results may impact performance. Combine with the min parameter to implement paging.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of Product objects. Each Product has an id, name, description, price, retailer, brandName, categories, images in Small/Medium/Large, and a url that forwards to the retailer&#039;s site.&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; To view the response xml or json, copy an API link and paste it in your browser after replacing YOUR_API_KEY with the &lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://developer.shopstyle.com/www.shopstyle.com/page/DeveloperHome?pid=22161&amp;pdata=onsugar1882991,1898971&quot;&gt;api key&lt;/a&gt; assigned to you.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetCategoryHistogram&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns a list of categories and product counts that describe the results of a given product query.  The query is specified using the &lt;a href=&quot;#prodQueryParams&quot;&gt;product query parameters&lt;/a&gt;.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetCategoryHistogram?pid=uid9616-726296-93&amp;amp;fts=tunic&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetCategoryHistogram?pid=YOUR_API_KEY&amp;amp;fts=tunic&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of Category objects. Each Category has an id, name, and count of the number of query results in that category.&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetFilterHistogram&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns a list of filters and product counts that describe the results of a given product query.  The query is specified using the &lt;a href=&quot;#prodQueryParams&quot;&gt;product query parameters&lt;/a&gt;.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetFilterHistogram?pid=uid9616-726296-93&amp;amp;filterType=Retailer&amp;amp;fts=red+dress&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetFilterHistogram?pid=YOUR_API_KEY&amp;amp;filterType=Retailer&amp;amp;fts=red+dress&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;filterType&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The type of filter data to return. Possible values are Brand, Retailer, Price,       Discount and Size.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of Filter objects of the given type. Each Filter has an id, name, and count of the number of results that apply to that filter.&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;&lt;a name=&quot;getBrands&quot;&gt;apiGetBrands&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns a list of brands that have live products.  Brands that have very few products will be omitted.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetBrands?pid=uid9616-726296-93&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetBrands?pid=YOUR_API_KEY&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of all Brands, with id, name, url, and synonyms of each.&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;&lt;a name=&quot;getRetailers&quot;&gt;apiGetRetailers&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns a list of retailers that have live products.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetRetailers?pid=uid9616-726296-93&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetRetailers?pid=YOUR_API_KEY&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of all Retailers, with id, name, and url of each.&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetLook&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns information about a particular look and its products.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetLook?pid=uid9616-726296-93&amp;amp;look=548347&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetLook?pid=YOUR_API_KEY&amp;amp;look=548347&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;look&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The ID number of the look.  An easy way to get a look&#039;s ID is to go to the       stylebook page that contains the look at the ShopStyle website, and right-click on the button that       you use to edit the look.  From the popup menu, select &quot;Copy Link&quot;, and paste that into any text       editor.  The &quot;lookId&quot; query parameter of that URL is the value to use for this API method.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A single look, with title, description, a set of tags, and a list of products. The products have the fields listed above (see apiSearch).&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetLooks&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns information about looks that match different kinds of searches.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetLooks?pid=uid9616-726296-93&amp;amp;type=New&amp;amp;min=0&amp;amp;count=2&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetLooks?pid=YOUR_API_KEY&amp;amp;type=New&amp;amp;min=0&amp;amp;count=2&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;type&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The type of search to perform.  Supported values are:                                                                                                      
&lt;ul class=&quot;paramValuesList&quot;&gt;
&lt;li&gt;New - Recently created looks. &lt;/li&gt;
&lt;li&gt;TopRated - Recently created looks that are highly rated. &lt;/li&gt;
&lt;li&gt;Celebrities - Looks owned by celebrity users. &lt;/li&gt;
&lt;li&gt;Featured - Looks from featured stylebooks. &lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;min&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The index of the first product to return, or 0 (zero) if not specified. A client can use this to implement paging through large result sets.&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;count&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The maximum number of results to return, or 20 if not specified. Combine with the min parameter to implement paging.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of looks of the given type. Each look has the fields listed above (see apiGetLook).&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetStylebook&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns information about a particular user&#039;s stylebook, the looks within that stylebook, and the title and description associated with each look.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://api.shopstyle.com/action/apiGetStylebook?pid=uid9616-726296-93&amp;amp;handle=FabSugar&amp;pdata=onsugar1882991,1898971&quot;&gt;http://api.shopstyle.com/action/apiGetStylebook?pid=YOUR_API_KEY&amp;amp;handle=FabSugar&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;handle&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The username of the stylebook owner.  &lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;min&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The index of the first look to return, or 0 (zero) if not specified. A client can use this to implement paging through large result sets.  &lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;count&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The maximum number of results to return, or 20 if not specified. Requesting too many results may impact performance. Combine with the min parameter to implement paging.  &lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
A look id of the user&#039;s stylebook, the look id of each individual look within that stylebook, and the title and description associated with each look.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiVisitRetailer&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method does not return a reponse of XML or JSON data like the other elements of the API.  Instead, it forwards the user to the retailer&#039;s product page for a given product.  It is the typical behavior to offer when the user clicks on a product.  The apiSearch method returns URLs that call this method for each of the products it returns.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/action/apiVisitRetailer?pid=uid9616-726296-93&amp;amp;id=27500798&amp;pdata=onsugar1882991,1898971&quot;&gt;http://www.shopstyle.com/action/apiVisitRetailer?pid=YOUR_API_KEY&amp;amp;id=27500798&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;id&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;The ID number of the product.  An easy way to get a product&#039;s ID is to find       the product somewhere in the ShopStyle UI, and right-click on the product image.  From the popup       menu, select &quot;Copy Link&quot;, and paste that into any text editor.  The &quot;id&quot; query parameter of that URL       is the value to use for this API method.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;method&quot;&gt;
&lt;div class=&quot;methodTitle&quot;&gt;apiGetTrends&lt;/div&gt;
&lt;div class=&quot;description&quot;&gt;This method returns the popular brands for a given category along with a sample product for the brand-category combination.
&lt;div class=&quot;code&quot;&gt;&lt;a onclick=&quot;if (window.shopSensePFlag===undefined) {this.href=this.href.replace(/pid=\d+/,&#039;pid=puid140817&#039;);}return true;&quot; href=&quot;http://www.shopstyle.com/action/apiGetTrends?pid=uid9616-726296-93&amp;amp;cat=109&amp;pdata=onsugar1882991,1898971&quot;&gt;http://www.shopstyle.com/action/apiGetTrends?pid=YOUR_API_KEY&amp;amp;cat=109&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;paramList&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;cat&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;Category you want to restrict the popularity search for. This is an optional parameter. If category is not supplied, all the popular brands regardless of category will be returned.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&quot;paramName&quot;&gt;products&lt;/td&gt;
&lt;td class=&quot;paramDescription&quot;&gt;To skip sample products, just pass value 0 for this attribute. This is an optional attribute as well.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;subTitle&quot;&gt;Response&lt;/div&gt;
&lt;div class=&quot;description&quot; style=&quot;font-size: 11px; padding: 0px; margin: 0px;&quot;&gt;A list of trends in the given category. Each trend has a brand, category, url, and optionally the top-ranked product for each brand/category.&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
 <comments>http://developer.shopstyle.com/1898971#comment</comments>
 <category domain="http://www.teamsugar.com/tag/json">json</category>
 <category domain="http://www.teamsugar.com/tag/api">api</category>
 <category domain="http://www.teamsugar.com/tag/xml">xml</category>
 <pubDate>Wed, 08 Apr 2009 14:38:55 -0700</pubDate>
 <dc:creator>ShopStyle</dc:creator>
 <guid>http://developer.shopstyle.com/1898971</guid>
</item>
</channel>
</rss>
