src/unifi_api/api.py
def ap_stat_daily(self, ap_mac=None, start=None, end=None, site=None):
        '''
            Get ap stats (daily)
            -------------------------
            returns an array of daily stats for the given ap or for all aps on a given site
            params:
                Name        | required  | description
                -----------------------------------------
                ap_mac      |   True    | mac address of the ap
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 7d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site of the ap, if not provided `find_device` will be used (or `default` if ap_mac wasn't provided)

            # versions < 4.6.6 keep up to 5 hours of these stats
        '''
        return self._ap_stats('daily', 7*24*60*60*1000, ap_mac, start, end, site)

            Get ap stats (daily)
            -------------------------
            returns an array of daily stats for the given ap or for all aps on a given site
            params:
                Name        | required  | description
                -----------------------------------------
                ap_mac      |   True    | mac address of the ap
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 7d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site of the ap, if not provided `find_device` will be used (or `default` if ap_mac wasn't provided)

            # versions < 4.6.6 keep up to 5 hours of these stats
        
Get ap stats (daily)
returns an array of daily stats for the given ap or for all aps on a given site
params:
Name        | required  | description



versions < 4.6.6 keep up to 5 hours of these stats
Get ap stats ( daily ) returns an array of daily stats for the given ap or for all aps on a given site params : Name | required | description versions < 4 . 6 . 6 keep up to 5 hours of these stats
def ap_stat_daily(self, ap_mac=None, start=None, end=None, site=None):
        return self._ap_stats('daily', 7*24*60*60*1000, ap_mac, start, end, site)
def ap_stat_daily ( self , ap_mac = None , start = None , end = None , site = None ) : return self . _ap_stats ( 'daily' , 7 * 24 * 60 * 60 * 1000 , ap_mac , start , end , site )
Get ap stats (daily)
returns an array of daily stats for the given ap or for all aps on a given site
params:
Name        | required  | description
Get ap stats ( daily ) returns an array of daily stats for the given ap or for all aps on a given site params : Name | required | description
'''
            Get ap stats (daily)
            -------------------------
            returns an array of daily stats for the given ap or for all aps on a given site
            params:
                Name        | required  | description
                -----------------------------------------
                ap_mac      |   True    | mac address of the ap
                start       |   False   | Unix timestamp in seconds or datetime, defaults to end - 7d
                end         |   False   | Unix timestamp in seconds or datetime, defaults to now
                site        |   False   | site of the ap, if not provided `find_device` will be used (or `default` if ap_mac wasn't provided)

            # versions < 4.6.6 keep up to 5 hours of these stats
        '''
self
ap_mac
start
end
site