def fill_with_api_logs(self, acc):
    today = datetime.datetime.now() 
    rand = random.randint(1, 100)
    batch = BadgePointsBatch(date=today, badgeid="badge1", account_key=acc.key().name(), counter=rand)
    batch.put()
    for ii in range(0, 10):
      rand = random.randint(1, 100) + 10*ii
      delta = datetime.timedelta(days=ii) 
      cur_date =  today - delta
      batch = BadgePointsBatch(date=cur_date, badgeid="badge1", account_key=acc.key().name(), counter=rand)
      batch.put()

    today = datetime.datetime.now() 
    rand = random.randint(1, 100)
    batch = BadgePointsBatch(date=today, badgeid="badge2", account_key=acc.key().name(), counter=rand)
    batch.put()
    for ii in range(0, 10):
      rand = random.randint(1, 100) + 10*ii
      delta = datetime.timedelta(days=ii) 
      cur_date =  today - delta
      batch = BadgePointsBatch(date=cur_date, badgeid="badge2", account_key=acc.key().name(), counter=rand)
      batch.put()