def get_domains(self, page=None):
        """Get domains"""
        opts = {}
        if page:
            opts['page'] = page
        return self.api_call(ENDPOINTS['domains']['list'], **opts)
def get_domains ( self , page = None ) : opts = { } if page : opts [ 'page' ] = page return self . api_call ( ENDPOINTS [ 'domains' ] [ 'list' ] , ** opts )
Get domains