import requests


def get_stats(discussion: dict) -> dict:
    """Retrieves real-time statistics for a `discussion` from Kialo.
    """
    path = f'https://www.kialo.com/api/v1/discussions/{discussion["id"]}/statistics'
    return requests.get(path).json()