| |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><title>Python: package gdata.health</title> |
| </head><body bgcolor="#f0f0f8"> |
| |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| <tr bgcolor="#7799ee"> |
| <td valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="gdata.html"><font color="#ffffff">gdata</font></a>.health</strong></big></big></font></td |
| ><td align=right valign=bottom |
| ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/google/home/afshar/src/external-gdata-release/google3/src/gdata/health/__init__.py">/usr/local/google/home/afshar/src/external-gdata-release/google3/src/gdata/health/__init__.py</a></font></td></tr></table> |
| <p><tt>Contains extensions to Atom objects used with Google Health.</tt></p> |
| <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#aa55cc"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="gdata.health.service.html">service</a><br> |
| </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ee77aa"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
| <td width="100%"><dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#AtomBase">atom.AtomBase</a>(<a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>) |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="gdata.health.html#Ccr">Ccr</a> |
| </font></dt></dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="gdata.html#GDataEntry">gdata.GDataEntry</a>(<a href="atom.html#Entry">atom.Entry</a>, <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>) |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="gdata.health.html#ProfileEntry">ProfileEntry</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="gdata.health.html#ProfileListEntry">ProfileListEntry</a> |
| </font></dt></dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="gdata.html#GDataFeed">gdata.GDataFeed</a>(<a href="atom.html#Feed">atom.Feed</a>, <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>) |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="gdata.health.html#ProfileFeed">ProfileFeed</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="gdata.health.html#ProfileListFeed">ProfileListFeed</a> |
| </font></dt></dl> |
| </dd> |
| </dl> |
| <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Ccr">class <strong>Ccr</strong></a>(<a href="atom.html#AtomBase">atom.AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>Represents a Google Health <ContinuityOfCareRecord>.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="gdata.health.html#Ccr">Ccr</a></dd> |
| <dd><a href="atom.html#AtomBase">atom.AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Ccr-GetAlerts"><strong>GetAlerts</strong></a>(self)</dt><dd><tt>Helper for extracting Alert/Allergy data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each allergy found) or None if<br> |
| no allergies where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetAllergies"><strong>GetAllergies</strong></a>(self)</dt><dd><tt>Alias for <a href="#Ccr-GetAlerts">GetAlerts</a>().</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetConditions"><strong>GetConditions</strong></a>(self)</dt><dd><tt>Alias for <a href="#Ccr-GetProblems">GetProblems</a>().</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetImmunizations"><strong>GetImmunizations</strong></a>(self)</dt><dd><tt>Helper for extracting Immunization data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each immunization found) or None if<br> |
| no immunizations where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetMedications"><strong>GetMedications</strong></a>(self)</dt><dd><tt>Helper for extracting Medication data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each medication found) or None if<br> |
| no medications where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetProblems"><strong>GetProblems</strong></a>(self)</dt><dd><tt>Helper for extracting Problem/Condition data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each problem found) or None if<br> |
| no problems where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetProcedures"><strong>GetProcedures</strong></a>(self)</dt><dd><tt>Helper for extracting Procedure data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each procedure found) or None if<br> |
| no procedures where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-GetResults"><strong>GetResults</strong></a>(self)</dt><dd><tt>Helper for extracting Results/Labresults data from the CCR.<br> |
| <br> |
| Returns:<br> |
| A list of ExtensionElements (one for each result found) or None if<br> |
| no results where found in this CCR.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-__init__"><strong>__init__</strong></a>(self, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">atom.AtomBase</a>:<br> |
| <dl><dt><a name="Ccr-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom object to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Ccr-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><a name="Ccr-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this object whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ProfileEntry">class <strong>ProfileEntry</strong></a>(<a href="gdata.html#GDataEntry">gdata.GDataEntry</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The Google Health version of an Atom Entry.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="gdata.health.html#ProfileEntry">ProfileEntry</a></dd> |
| <dd><a href="gdata.html#GDataEntry">gdata.GDataEntry</a></dd> |
| <dd><a href="atom.html#Entry">atom.Entry</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">atom.FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">atom.AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a></dd> |
| <dd><a href="gdata.html#LinkFinder">gdata.LinkFinder</a></dd> |
| <dd><a href="atom.html#LinkFinder">atom.LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="ProfileEntry-__init__"><strong>__init__</strong></a>(self, ccr<font color="#909090">=None</font>, author<font color="#909090">=None</font>, category<font color="#909090">=None</font>, content<font color="#909090">=None</font>, atom_id<font color="#909090">=None</font>, link<font color="#909090">=None</font>, published<font color="#909090">=None</font>, title<font color="#909090">=None</font>, updated<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="gdata.html#GDataEntry">gdata.GDataEntry</a>:<br> |
| <dl><dt><a name="ProfileEntry-GetMediaURL"><strong>GetMediaURL</strong></a>(self)</dt><dd><tt>Returns the URL to the media content, if the entry is a media entry.<br> |
| Otherwise returns None.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileEntry-IsMedia"><strong>IsMedia</strong></a>(self)</dt><dd><tt>Determines whether or not an entry is a GData Media entry.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="gdata.html#GDataEntry">gdata.GDataEntry</a>:<br> |
| <dl><dt><strong>id</strong></dt> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">atom.AtomBase</a>:<br> |
| <dl><dt><a name="ProfileEntry-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom object to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileEntry-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><a name="ProfileEntry-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this object whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileEntry-GetAclLink"><strong>GetAclLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt><dd><tt>The Picasa API mistakenly returns media-edit rather than edit-media, but<br> |
| this may change soon.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetFeedLink"><strong>GetFeedLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetHtmlLink"><strong>GetHtmlLink</strong></a>(self)</dt><dd><tt>Find the first link with rel of alternate and type of text/html<br> |
| <br> |
| Returns:<br> |
| An atom.Link or None if no links matched</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetPostLink"><strong>GetPostLink</strong></a>(self)</dt><dd><tt>Get a link containing the POST target URL.<br> |
| <br> |
| The POST target URL is used to insert new entries.<br> |
| <br> |
| Returns:<br> |
| A link object with a rel matching the POST type.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetPrevLink"><strong>GetPrevLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.Link or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">atom.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileEntry-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileEntry-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ProfileFeed">class <strong>ProfileFeed</strong></a>(<a href="gdata.html#GDataFeed">gdata.GDataFeed</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A feed containing a list of Google Health profile entries.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="gdata.health.html#ProfileFeed">ProfileFeed</a></dd> |
| <dd><a href="gdata.html#GDataFeed">gdata.GDataFeed</a></dd> |
| <dd><a href="atom.html#Feed">atom.Feed</a></dd> |
| <dd><a href="atom.html#Source">atom.Source</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">atom.FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">atom.AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a></dd> |
| <dd><a href="gdata.html#LinkFinder">gdata.LinkFinder</a></dd> |
| <dd><a href="atom.html#LinkFinder">atom.LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#GDataFeed">gdata.GDataFeed</a>:<br> |
| <dl><dt><a name="ProfileFeed-__init__"><strong>__init__</strong></a>(self, author<font color="#909090">=None</font>, category<font color="#909090">=None</font>, contributor<font color="#909090">=None</font>, generator<font color="#909090">=None</font>, icon<font color="#909090">=None</font>, atom_id<font color="#909090">=None</font>, link<font color="#909090">=None</font>, logo<font color="#909090">=None</font>, rights<font color="#909090">=None</font>, subtitle<font color="#909090">=None</font>, title<font color="#909090">=None</font>, updated<font color="#909090">=None</font>, entry<font color="#909090">=None</font>, total_results<font color="#909090">=None</font>, start_index<font color="#909090">=None</font>, items_per_page<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Constructor for Source<br> |
| <br> |
| Args:<br> |
| author: list (optional) A list of Author instances which belong to this<br> |
| class.<br> |
| category: list (optional) A list of Category instances<br> |
| contributor: list (optional) A list on Contributor instances<br> |
| generator: Generator (optional)<br> |
| icon: Icon (optional)<br> |
| id: Id (optional) The entry's Id element<br> |
| link: list (optional) A list of Link instances<br> |
| logo: Logo (optional)<br> |
| rights: Rights (optional) The entry's Rights element<br> |
| subtitle: Subtitle (optional) The entry's subtitle element<br> |
| title: Title (optional) the entry's title element<br> |
| updated: Updated (optional) the entry's updated element<br> |
| entry: list (optional) A list of the Entry instances contained in the<br> |
| feed.<br> |
| text: String (optional) The text contents of the element. This is the<br> |
| contents of the Entry's XML text node.<br> |
| (Example: <foo>This is the text</foo>)<br> |
| extension_elements: list (optional) A list of ExtensionElement instances<br> |
| which are children of this element.<br> |
| extension_attributes: dict (optional) A dictionary of strings which are<br> |
| the values for additional XML attributes of this element.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="gdata.html#GDataFeed">gdata.GDataFeed</a>:<br> |
| <dl><dt><strong>generator</strong></dt> |
| </dl> |
| <dl><dt><strong>id</strong></dt> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">atom.AtomBase</a>:<br> |
| <dl><dt><a name="ProfileFeed-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom object to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileFeed-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><a name="ProfileFeed-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this object whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileFeed-GetAclLink"><strong>GetAclLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt><dd><tt>The Picasa API mistakenly returns media-edit rather than edit-media, but<br> |
| this may change soon.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetFeedLink"><strong>GetFeedLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetHtmlLink"><strong>GetHtmlLink</strong></a>(self)</dt><dd><tt>Find the first link with rel of alternate and type of text/html<br> |
| <br> |
| Returns:<br> |
| An atom.Link or None if no links matched</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetPostLink"><strong>GetPostLink</strong></a>(self)</dt><dd><tt>Get a link containing the POST target URL.<br> |
| <br> |
| The POST target URL is used to insert new entries.<br> |
| <br> |
| Returns:<br> |
| A link object with a rel matching the POST type.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetPrevLink"><strong>GetPrevLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.Link or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">atom.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileFeed-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileFeed-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ProfileListEntry">class <strong>ProfileListEntry</strong></a>(<a href="gdata.html#GDataEntry">gdata.GDataEntry</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The Atom Entry in the Google Health profile list feed.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="gdata.health.html#ProfileListEntry">ProfileListEntry</a></dd> |
| <dd><a href="gdata.html#GDataEntry">gdata.GDataEntry</a></dd> |
| <dd><a href="atom.html#Entry">atom.Entry</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">atom.FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">atom.AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a></dd> |
| <dd><a href="gdata.html#LinkFinder">gdata.LinkFinder</a></dd> |
| <dd><a href="atom.html#LinkFinder">atom.LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="ProfileListEntry-GetProfileId"><strong>GetProfileId</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetProfileName"><strong>GetProfileName</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="gdata.html#GDataEntry">gdata.GDataEntry</a>:<br> |
| <dl><dt><a name="ProfileListEntry-GetMediaURL"><strong>GetMediaURL</strong></a>(self)</dt><dd><tt>Returns the URL to the media content, if the entry is a media entry.<br> |
| Otherwise returns None.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListEntry-IsMedia"><strong>IsMedia</strong></a>(self)</dt><dd><tt>Determines whether or not an entry is a GData Media entry.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="gdata.html#GDataEntry">gdata.GDataEntry</a>:<br> |
| <dl><dt><strong>id</strong></dt> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#Entry">atom.Entry</a>:<br> |
| <dl><dt><a name="ProfileListEntry-__init__"><strong>__init__</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">atom.AtomBase</a>:<br> |
| <dl><dt><a name="ProfileListEntry-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom object to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListEntry-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><a name="ProfileListEntry-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this object whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileListEntry-GetAclLink"><strong>GetAclLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt><dd><tt>The Picasa API mistakenly returns media-edit rather than edit-media, but<br> |
| this may change soon.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetFeedLink"><strong>GetFeedLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetHtmlLink"><strong>GetHtmlLink</strong></a>(self)</dt><dd><tt>Find the first link with rel of alternate and type of text/html<br> |
| <br> |
| Returns:<br> |
| An atom.Link or None if no links matched</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetPostLink"><strong>GetPostLink</strong></a>(self)</dt><dd><tt>Get a link containing the POST target URL.<br> |
| <br> |
| The POST target URL is used to insert new entries.<br> |
| <br> |
| Returns:<br> |
| A link object with a rel matching the POST type.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetPrevLink"><strong>GetPrevLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.Link or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">atom.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileListEntry-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListEntry-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ProfileListFeed">class <strong>ProfileListFeed</strong></a>(<a href="gdata.html#GDataFeed">gdata.GDataFeed</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A feed containing a list of Google Health profile list entries.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="gdata.health.html#ProfileListFeed">ProfileListFeed</a></dd> |
| <dd><a href="gdata.html#GDataFeed">gdata.GDataFeed</a></dd> |
| <dd><a href="atom.html#Feed">atom.Feed</a></dd> |
| <dd><a href="atom.html#Source">atom.Source</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">atom.FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">atom.AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a></dd> |
| <dd><a href="gdata.html#LinkFinder">gdata.LinkFinder</a></dd> |
| <dd><a href="atom.html#LinkFinder">atom.LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#GDataFeed">gdata.GDataFeed</a>:<br> |
| <dl><dt><a name="ProfileListFeed-__init__"><strong>__init__</strong></a>(self, author<font color="#909090">=None</font>, category<font color="#909090">=None</font>, contributor<font color="#909090">=None</font>, generator<font color="#909090">=None</font>, icon<font color="#909090">=None</font>, atom_id<font color="#909090">=None</font>, link<font color="#909090">=None</font>, logo<font color="#909090">=None</font>, rights<font color="#909090">=None</font>, subtitle<font color="#909090">=None</font>, title<font color="#909090">=None</font>, updated<font color="#909090">=None</font>, entry<font color="#909090">=None</font>, total_results<font color="#909090">=None</font>, start_index<font color="#909090">=None</font>, items_per_page<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Constructor for Source<br> |
| <br> |
| Args:<br> |
| author: list (optional) A list of Author instances which belong to this<br> |
| class.<br> |
| category: list (optional) A list of Category instances<br> |
| contributor: list (optional) A list on Contributor instances<br> |
| generator: Generator (optional)<br> |
| icon: Icon (optional)<br> |
| id: Id (optional) The entry's Id element<br> |
| link: list (optional) A list of Link instances<br> |
| logo: Logo (optional)<br> |
| rights: Rights (optional) The entry's Rights element<br> |
| subtitle: Subtitle (optional) The entry's subtitle element<br> |
| title: Title (optional) the entry's title element<br> |
| updated: Updated (optional) the entry's updated element<br> |
| entry: list (optional) A list of the Entry instances contained in the<br> |
| feed.<br> |
| text: String (optional) The text contents of the element. This is the<br> |
| contents of the Entry's XML text node.<br> |
| (Example: <foo>This is the text</foo>)<br> |
| extension_elements: list (optional) A list of ExtensionElement instances<br> |
| which are children of this element.<br> |
| extension_attributes: dict (optional) A dictionary of strings which are<br> |
| the values for additional XML attributes of this element.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="gdata.html#GDataFeed">gdata.GDataFeed</a>:<br> |
| <dl><dt><strong>generator</strong></dt> |
| </dl> |
| <dl><dt><strong>id</strong></dt> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">atom.AtomBase</a>:<br> |
| <dl><dt><a name="ProfileListFeed-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom object to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListFeed-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><a name="ProfileListFeed-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this object whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">atom.ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="gdata.html#LinkFinder">gdata.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileListFeed-GetAclLink"><strong>GetAclLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt><dd><tt>The Picasa API mistakenly returns media-edit rather than edit-media, but<br> |
| this may change soon.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetFeedLink"><strong>GetFeedLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetHtmlLink"><strong>GetHtmlLink</strong></a>(self)</dt><dd><tt>Find the first link with rel of alternate and type of text/html<br> |
| <br> |
| Returns:<br> |
| An atom.Link or None if no links matched</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetPostLink"><strong>GetPostLink</strong></a>(self)</dt><dd><tt>Get a link containing the POST target URL.<br> |
| <br> |
| The POST target URL is used to insert new entries.<br> |
| <br> |
| Returns:<br> |
| A link object with a rel matching the POST type.</tt></dd></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetPrevLink"><strong>GetPrevLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.Link or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">atom.LinkFinder</a>:<br> |
| <dl><dt><a name="ProfileListFeed-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ProfileListFeed-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| </td></tr></table></td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#eeaa77"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> |
| <td width="100%"><dl><dt><a name="-ProfileEntryFromString"><strong>ProfileEntryFromString</strong></a>(xml_string)</dt><dd><tt>Converts an XML string into a <a href="#ProfileEntry">ProfileEntry</a> object.<br> |
| <br> |
| Args:<br> |
| xml_string: string The XML describing a Health profile feed entry.<br> |
| <br> |
| Returns:<br> |
| A <a href="#ProfileEntry">ProfileEntry</a> object corresponding to the given XML.</tt></dd></dl> |
| <dl><dt><a name="-ProfileFeedFromString"><strong>ProfileFeedFromString</strong></a>(xml_string)</dt><dd><tt>Converts an XML string into a <a href="#ProfileFeed">ProfileFeed</a> object.<br> |
| <br> |
| Args:<br> |
| xml_string: string The XML describing a <a href="#ProfileFeed">ProfileFeed</a> feed.<br> |
| <br> |
| Returns:<br> |
| A <a href="#ProfileFeed">ProfileFeed</a> object corresponding to the given XML.</tt></dd></dl> |
| <dl><dt><a name="-ProfileListEntryFromString"><strong>ProfileListEntryFromString</strong></a>(xml_string)</dt><dd><tt>Converts an XML string into a <a href="#ProfileListEntry">ProfileListEntry</a> object.<br> |
| <br> |
| Args:<br> |
| xml_string: string The XML describing a Health profile list feed entry.<br> |
| <br> |
| Returns:<br> |
| A <a href="#ProfileListEntry">ProfileListEntry</a> object corresponding to the given XML.</tt></dd></dl> |
| <dl><dt><a name="-ProfileListFeedFromString"><strong>ProfileListFeedFromString</strong></a>(xml_string)</dt><dd><tt>Converts an XML string into a <a href="#ProfileListFeed">ProfileListFeed</a> object.<br> |
| <br> |
| Args:<br> |
| xml_string: string The XML describing a <a href="#ProfileListFeed">ProfileListFeed</a> feed.<br> |
| <br> |
| Returns:<br> |
| A <a href="#ProfileListFeed">ProfileListFeed</a> object corresponding to the given XML.</tt></dd></dl> |
| </td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#55aa55"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| <td width="100%"><strong>CCR_NAMESPACE</strong> = 'urn:astm-org:CCR'<br> |
| <strong>METADATA_NAMESPACE</strong> = 'http://schemas.google.com/health/metadata'<br> |
| <strong>__author__</strong> = 'api.eric@google.com (Eric Bidelman)'</td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#7799ee"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| <td width="100%">api.eric@google.com (Eric Bidelman)</td></tr></table> |
| </body></html> |