@staticmethod
def _get_value(json_data: dict, key: str) ->str:
    """
        Gets a key value from a given JSON.

        As Steam's JSON data is inconsistent, it might very well miss some of
        the things that are usually present in other apps. Hence, we simply
        set the value to None instead of reporting the problem, as this is
        (albeit rare) expected occurrence.

        :param json_data: dictionary which is to be inspected for a key-value.
        :param key: dictionary key for which the value should be returned.
        :return: value corresponding to a key.
        """
    try:
        value = json_data[key]
    except KeyError:
        value = None
    return value
