'Get players recently connected to the game.
Args:
days (int, optional): Number of days backwards to check
Returns:
players (list): The Players connected to the game in the
last `days` interval.'

@returns_typeclass_list
def get_recently_connected_players(self, days=7):

    end_date = timezone.now()
    tdelta = datetime.timedelta(days)
    start_date = (end_date - tdelta)
    return self.filter(last_login__range=(start_date, end_date)).order_by('-last_login')
