(self, key=None, blog_url=None, agent=None)
Automatically calls ``setAPIKey``.
Automatically calls ``setAPIKey``.
Automatically calls setAPIKey .
def __init__(self, key=None, blog_url=None, agent=None):
        """Automatically calls ``setAPIKey``."""
        if agent is None:
            agent = DEFAULTAGENT % __version__
        self.user_agent = user_agent % (agent, __version__)
        self.setAPIKey(key, blog_url)
def __init__ ( self , key = None , blog_url = None , agent = None ) : if agent is None : agent = DEFAULTAGENT % __version__ self . user_agent = user_agent % ( agent , __version__ ) self . setAPIKey ( key , blog_url )