Group
index
tweetworks/Group.py

Read Tweetworks API groups from XML responses.
 
Nicolas Ward
@ultranurd
ultranurd@yahoo.com
http://www.ultranurd.net/code/tweetworks/
2009.06.19

 
Modules
       
lxml

 
Classes
       
Group

 
class Group
    Represents the data fields of a single Tweetworks group.
 
  Methods defined here:
__init__(self, xml=None)
Reads group fields from the XML, or create an empty group.
 
id - int - Tweetworks numeric group ID
name - string - Tweetworks group name
private - boolean - Whether or not this is a private group
description - string - The short group description, if any
__repr__(self)
Returns an eval-ready string for this Group's constructor.
__str__(self)
Returns this Group as an XML string.
xml(self)
Generates an XML element tree for this Group.