import requests


def get_http_status_code(url: str) -> int:
    """This gets the http status code of a web resource.

    Parameters
    ----------
    url : string
        The url which the http status code will try and obtain.

    Return
    ------
    status_code : int
        The status code.
    """
    web_request = requests.get(url)
    status_code = web_request.status_code
    return status_code