<commit_before>import aiohttp
import json
from datetime import timedelta
import time


class Riot:
    """
    This class handles the Riot API and stores variables and calls related to that API.
    """
    def __init__(self, redis):
        """
        Initialize the API and store API variables and the global connection pool for redis.

        :RedisPool redis: The global aioredis connection pool used by AngelBot
        """
        # API Endpoints: Global is used for static data. NA is North America NA1. Status is for Shard Status endpoints.
        self.apiurls = {'global': 'https://global.api.pvp.net/api/lol', 'na': 'https://na.api.pvp.net/api/lol',
                        'status': 'http://status.leagueoflegends.com/', 'observer': 'https://na.api.pvp.net/observer-mode', 
                        'brobserver': 'https://br.api.pvp.net/observer-mode', 'br': 'https://br.api.pvp.net/api/lol'}<commit_msg>Should have fixed lolfeatured.<commit_after>import aiohttp
import json
from datetime import timedelta
import time


class Riot:
    """
    This class handles the Riot API and stores variables and calls related to that API.
    """
    def __init__(self, redis):
        """
        Initialize the API and store API variables and the global connection pool for redis.

        :RedisPool redis: The global aioredis connection pool used by AngelBot
        """
        # API Endpoints: Global is used for static data. NA is North America NA1. Status is for Shard Status endpoints.
        self.apiurls = {'global': 'https://global.api.pvp.net/api/lol', 'na': 'https://na.api.pvp.net/api/lol',
                        'status': 'http://status.leagueoflegends.com/', 'observer': 'https://na.api.pvp.net/observer-mode/rest/featured',
                        'brobserver': 'https://br.api.pvp.net/observer-mode/rest/featured', 'br': 'https://br.api.pvp.net/api/lol'}
{'fraction_non_alphanumeric': 0.12406815761448349, 'fraction_numerical': 0.0010649627263045794, 'mean_word_length': 2.6556420233463034, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5458524', 'n_tokens_mistral': 569, 'n_tokens_neox': 551, 'n_words': 174}