parameters: (self)
return_statement: return data
docstring: Get game from stanza.
  
          Required to parse incoming stanzas with this extension.
  
          Returns:
              dict with game information
docstring_summary: Get game from stanza.
docstring_tokens: Get game from stanza .
function: def get_game(self):
          """Get game from stanza.
  
          Required to parse incoming stanzas with this extension.
  
          Returns:
              dict with game information
  
          """
          game = self.xml.find('{%s}game' % self.namespace)
          data = {}
  
          if game is not None:
              for key, item in game.items():
                  data[key] = item
          return data
function_tokens: def get_game ( self ) : game = self . xml . find ( '{%s}game' % self . namespace ) data = { } if game is not None : for key , item in game . items ( ) : data [ key ] = item return data