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

            # supported from versions 5.5.* and later
            # retention policy for 5 minutes stats must be set accordingly
        '''
        return self._site_stats('5minutes', 12*60*60*1000, start, end, site)

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

            # supported from versions 5.5.* and later
            # retention policy for 5 minutes stats must be set accordingly
        
Get site stats (5 min)
returns an array of 5 min stats for the given site
params:
Name        | required  | description



supported from versions 5.5.* and later
retention policy for 5 minutes stats must be set accordingly
Get site stats ( 5 min ) returns an array of 5 min stats for the given site params : Name | required | description supported from versions 5 . 5 . * and later retention policy for 5 minutes stats must be set accordingly
def site_stat_5min(self, start=None, end=None, site='default'):
        return self._site_stats('5minutes', 12*60*60*1000, start, end, site)
def site_stat_5min ( self , start = None , end = None , site = 'default' ) : return self . _site_stats ( '5minutes' , 12 * 60 * 60 * 1000 , start , end , site )
Get site stats (5 min)
returns an array of 5 min stats for the given site
params:
Name        | required  | description
Get site stats ( 5 min ) returns an array of 5 min stats for the given site params : Name | required | description
'''
            Get site stats (5 min)
            -------------------------
            returns an array of 5 min stats for the given site
            params:
                Name        | required  | description
                -----------------------------------------
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 12h
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site name to get stats, defaults to `default`

            # supported from versions 5.5.* and later
            # retention policy for 5 minutes stats must be set accordingly
        '''
self
start
end
site