def __init__(self,alias=None,session=None):
        """Create account object.

        >>> clc.v2.Account()
        <clc.APIv2.account.Account instance at 0x1065a2e60>

        """
        self.session = session

        if alias:
            self.alias = alias
        else:
            self.alias = clc.v2.Account.GetAlias(session=self.session)

        self.data = clc.v2.API.Call('GET','accounts/%s' % (self.alias),{},session=session)
def __init__ ( self , alias = None , session = None ) : self . session = session if alias : self . alias = alias else : self . alias = clc . v2 . Account . GetAlias ( session = self . session ) self . data = clc . v2 . API . Call ( 'GET' , 'accounts/%s' % ( self . alias ) , { } , session = session )
Create account object.

        >>> clc.v2.Account()
        <clc.APIv2.account.Account instance at 0x1065a2e60>