Joe Gregorio | afc45f2 | 2011-02-20 16:11:28 -0500 | [diff] [blame] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: class Resource</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | <p> |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 7 | <tr bgcolor="#ffc8d8"> |
| 8 | <td colspan=3 valign=bottom> <br> |
| 9 | <font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| 10 | |
| 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 12 | <td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr> |
| 13 | <tr><td> </td> |
| 14 | <td width="100%">Methods defined here:<br> |
| 15 | <dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl> |
| 16 | |
| 17 | <dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a single product<br> |
| 18 | <br> |
| 19 | Args:<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 20 | debug_searchResponse: boolean, Google Internal<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 21 | taxonomy: string, Merchant taxonomy<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 22 | recommendations_useGcsConfig: boolean, This parameter is currently ignored<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 23 | productFields: string, Google Internal<br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 24 | accountId: integer, Merchant center account id (required)<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 25 | source: string, Query source (required)<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 26 | recommendations_include: string, Recommendation specification<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 27 | debug_enabled: boolean, Google Internal<br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 28 | location: string, Location used to determine tax and shipping<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 29 | debug_searchRequest: boolean, Google Internal<br> |
| 30 | productId: string, Id of product (required)<br> |
| 31 | productIdType: string, Type of productId (required)<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 32 | debug_enableLogging: boolean, Google Internal<br> |
| 33 | recommendations_enabled: boolean, Whether to return recommendation information<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 34 | categories_enabled: boolean, Whether to return category information<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 35 | attributeFilter: string, Comma separated list of attributes to return<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 36 | categories_useGcsConfig: boolean, This parameter is currently ignored<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 37 | thumbnails: string, Thumbnail specification<br> |
| 38 | categories_include: string, Category specification</tt></dd></dl> |
Joe Gregorio | afc45f2 | 2011-02-20 16:11:28 -0500 | [diff] [blame] | 39 | |
| 40 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a list of products and content modules<br> |
| 41 | <br> |
| 42 | Args:<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 43 | facets_enabled: boolean, Whether to return facet information<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 44 | debug_geocodeRequest: boolean, Google Internal<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 45 | debug_searchResponse: boolean, Google Internal<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 46 | debug_rdcRequest: boolean, Google Internal<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 47 | taxonomy: string, Taxonomy name<br> |
| 48 | promotions_enabled: boolean, Whether to return promotion information<br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 49 | shelfSpaceAds_enabled: boolean, Whether to return shelf space ads<br> |
Joe Gregorio | 9384170 | 2011-03-02 16:12:05 -0800 | [diff] [blame] | 50 | debug_rdcResponse: boolean, Google Internal<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 51 | productFields: string, Google Internal<br> |
| 52 | channels: string, Channels specification<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 53 | facets_discover: string, Facets to discover<br> |
| 54 | startIndex: integer, Index (1-based) of first product to return<br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 55 | attributeFilter: string, Comma separated list of attributes to return<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 56 | crowdBy: string, Crowding specification<br> |
| 57 | spelling_enabled: boolean, Whether to return spelling suggestions<br> |
| 58 | debug_enabled: boolean, Google Internal<br> |
| 59 | spelling_useGcsConfig: boolean, This parameter is currently ignored<br> |
| 60 | source: string, Query source (required)<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 61 | useCase: string, One of CommerceSearchUseCase, ShoppingApiUseCase<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 62 | debug_geocodeResponse: boolean, Google Internal<br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 63 | location: string, Location used to determine tax and shipping<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 64 | categories_include: string, Category specification<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 65 | debug_searchRequest: boolean, Google Internal<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 66 | relatedQueries_enabled: boolean, Whether to return related queries<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 67 | facets_useGcsConfig: boolean, Whether to return facet information as configured in the GCS account<br> |
Joe Gregorio | 4939655 | 2011-03-08 10:39:00 -0500 | [diff] [blame] | 68 | safe: boolean, Whether safe search is enabled. Default: true<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 69 | boostBy: string, Boosting specification<br> |
| 70 | debug_enableLogging: boolean, Google Internal<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 71 | maxResults: integer, Maximum number of results to return<br> |
| 72 | categories_enabled: boolean, Whether to return category information<br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 73 | shelfSpaceAds_useGcsConfig: boolean, This parameter is currently ignored<br> |
| 74 | shelfSpaceAds_maxResults: integer, The maximum number of shelf space ads to return<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 75 | categories_useGcsConfig: boolean, This parameter is currently ignored<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 76 | promotions_useGcsConfig: boolean, Whether to return promotion information as configured in the GCS account<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 77 | facets_include: string, Facets to include (applies when useGcsConfig == false)<br> |
| 78 | thumbnails: string, Image thumbnails specification<br> |
| 79 | language: string, Language restriction (BCP 47)<br> |
| 80 | currency: string, Currency restriction (ISO 4217)<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 81 | sayt_enabled: boolean, Google Internal<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 82 | rankBy: string, Ranking specification<br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 83 | redirects_enabled: boolean, Whether to return redirect information<br> |
| 84 | restrictBy: string, Restriction specification<br> |
| 85 | q: string, Search query<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 86 | redirects_useGcsConfig: boolean, Whether to return redirect information as configured in the GCS account<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 87 | sayt_useGcsConfig: boolean, Google Internal<br> |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 88 | country: string, Country restriction (ISO 3166)<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 89 | relatedQueries_useGcsConfig: boolean, This parameter is currently ignored<br> |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame] | 90 | minAvailability: string, A parameter<br> |
| 91 | Allowed values<br> |
| 92 | inStock - Only in stcok prodicts will be returned<br> |
| 93 | limited - Limited availability and in stock products will be returned<br> |
| 94 | outOfStock - Out of stock, limited availability and in stock products will be returned<br> |
| 95 | unknown - All products will be returned</tt></dd></dl> |
Joe Gregorio | afc45f2 | 2011-02-20 16:11:28 -0500 | [diff] [blame] | 96 | |
| 97 | <hr> |
| 98 | Data descriptors defined here:<br> |
| 99 | <dl><dt><strong>__dict__</strong></dt> |
| 100 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 101 | </dl> |
| 102 | <dl><dt><strong>__weakref__</strong></dt> |
| 103 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 104 | </dl> |
| 105 | </td></tr></table> |
| 106 | </body></html> |