from typing import Optional


def _get_property(self, key: str, *, offset: int = 0) -> Optional[int]:
    """Get a property from the location details.

    :param key: The key for the property
    :param offset: Any offset to apply to the value (if found)

    :returns: The property as an int value if found, None otherwise
    """
    value = self.location_details.get(key)
    if value is None:
        return None
    return int(value[0]) + offset