src/unifi_api/api.py
def site_stat_daily(self, start=None, end=None, site='default'):
        '''
            Get site stats (daily)
            -------------------------
            returns an array of daily stats for the given site
            params:
                Name        | required  | description
                -----------------------------------------
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 30d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site name to get stats, defaults to `default`

            # bytes not supported from versions 4.9.1 and later
        '''
        return self._site_stats('daily', 30*24*60*60*1000, start, end, site)

            Get site stats (daily)
            -------------------------
            returns an array of daily stats for the given site
            params:
                Name        | required  | description
                -----------------------------------------
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 30d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site name to get stats, defaults to `default`

            # bytes not supported from versions 4.9.1 and later
        
Get site stats (daily)
returns an array of daily stats for the given site
params:
Name        | required  | description



bytes not supported from versions 4.9.1 and later
Get site stats ( daily ) returns an array of daily stats for the given site params : Name | required | description bytes not supported from versions 4 . 9 . 1 and later
def site_stat_daily(self, start=None, end=None, site='default'):
        return self._site_stats('daily', 30*24*60*60*1000, start, end, site)
def site_stat_daily ( self , start = None , end = None , site = 'default' ) : return self . _site_stats ( 'daily' , 30 * 24 * 60 * 60 * 1000 , start , end , site )
Get site stats (daily)
returns an array of daily stats for the given site
params:
Name        | required  | description
Get site stats ( daily ) returns an array of daily stats for the given site params : Name | required | description
'''
            Get site stats (daily)
            -------------------------
            returns an array of daily stats for the given site
            params:
                Name        | required  | description
                -----------------------------------------
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 30d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site name to get stats, defaults to `default`

            # bytes not supported from versions 4.9.1 and later
        '''
self
start
end
site