| Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [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>Gets one blog by id.<br> | 
 | 18 |  <br> | 
 | 19 | Args:<br> | 
| Joe Gregorio | b417caf | 2011-12-08 12:04:24 -0500 | [diff] [blame] | 20 |   blogId: string, The ID of the blog to get. (required)<br> | 
 | 21 |  <br> | 
 | 22 | Returns:<br> | 
 | 23 |   An object of the form<br> | 
 | 24 |  <br> | 
 | 25 |     {<br> | 
 | 26 |     "kind": "blogger#blog", # The kind of this entry. Always blogger#blog<br> | 
 | 27 |     "description": "A String", # The description of this blog. This is displayed underneath the title.<br> | 
 | 28 |     "locale": { # The locale this Blog is set to.<br> | 
 | 29 |       "country": "A String", # The country this blog's locale is set to.<br> | 
 | 30 |       "variant": "A String", # The language variant this blog is authored in.<br> | 
 | 31 |       "language": "A String", # The language this blog is authored in.<br> | 
 | 32 |     },<br> | 
 | 33 |     "posts": { # The container of posts in this blog.<br> | 
 | 34 |       "totalItems": 42, # The count of posts in this blog.<br> | 
 | 35 |       "selfLink": "A String", # The URL of the container for posts in this blog.<br> | 
 | 36 |     },<br> | 
 | 37 |     "updated": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> date-time when this blog was last updated.<br> | 
 | 38 |     "id": "A String", # The identifier for this resource.<br> | 
 | 39 |     "url": "A String", # The URL where this blog is published.<br> | 
 | 40 |     "published": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> date-time when this blog was published.<br> | 
 | 41 |     "pages": { # The container of pages in this blog.<br> | 
 | 42 |       "totalItems": 42, # The count of pages in this blog.<br> | 
 | 43 |       "selfLink": "A String", # The URL of the container for pages in this blog.<br> | 
 | 44 |     },<br> | 
 | 45 |     "selfLink": "A String", # The API REST URL to fetch this resource from.<br> | 
 | 46 |     "name": "A String", # The name of this blog. This is displayed as the title.<br> | 
 | 47 |   }</tt></dd></dl> | 
| Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame] | 48 |  | 
 | 49 | <hr> | 
 | 50 | Data descriptors defined here:<br> | 
 | 51 | <dl><dt><strong>__dict__</strong></dt> | 
 | 52 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> | 
 | 53 | </dl> | 
 | 54 | <dl><dt><strong>__weakref__</strong></dt> | 
 | 55 | <dd><tt>list of weak references to the object (if defined)</tt></dd> | 
 | 56 | </dl> | 
 | 57 | </td></tr></table> | 
 | 58 | </body></html> |