code: def all_stats(klass, account, ids, metric_groups, **kwargs):
          
          params = klass._standard_params(ids, metric_groups, **kwargs)
  
          resource = klass.RESOURCE_SYNC.format(account_id=account.id)
          response = Request(account.client, 'get', resource, params=params).perform()
          return response.body['data']
docs: Pulls a list of metrics for a specified set of object IDs.