<commit_before>import json

import requests
import time


def get_statuses():
    return requests.get('https://status.mojang.com/check/').json()


def get_uuid(username, unix_timestamp=None):
    if unix_timestamp is None:
        unix_timestamp = int(time.time())
    return requests.get(
        'https://api.mojang.com/users/profiles/minecraft/{}?at={}'.format(username, unix_timestamp)
    ).json()


def get_usernames(uuid):
    return requests.get('https://api.mojang.com/user/profiles/{}/names'.format(uuid)).json()


def get_profiles(*usernames):
    return requests.post(
        url='https://api.mojang.com/profiles/minecraft',
        headers={
            b'Content-Type': b'application/json'
        },
        data=json.dumps(list(usernames))
    ).json()<commit_msg>Add get blocked server hashes call<commit_after>import json

import requests
import time


def get_statuses():
    return requests.get('https://status.mojang.com/check/').json()


def get_uuid(username, unix_timestamp=None):
    if unix_timestamp is None:
        unix_timestamp = int(time.time())
    return requests.get(
        'https://api.mojang.com/users/profiles/minecraft/{}?at={}'.format(username, unix_timestamp)
    ).json()


def get_usernames(uuid):
    return requests.get('https://api.mojang.com/user/profiles/{}/names'.format(uuid)).json()


def get_profiles(*usernames):
    return requests.post(
        url='https://api.mojang.com/profiles/minecraft',
        headers={
            b'Content-Type': b'application/json'
        },
        data=json.dumps(list(usernames))
    ).json()


def get_blocked_server_hashes():
    response = requests.get('https://sessionserver.mojang.com/blockedservers')
    response.raise_for_status()
    sha1_hashes = response.content.split(b'\n')
    return sha1_hashes
{'fraction_non_alphanumeric': 0.1511111111111111, 'fraction_numerical': 0.0011111111111111111, 'mean_word_length': 3.491271820448878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '7268256', 'n_tokens_mistral': 596, 'n_tokens_neox': 592, 'n_words': 89}