import requests


def get_cloud_data(url: str, *, encoding: str = "utf-8") -> str:
    """Returns a string of the request from the specified url.

    Parameters
    ----------
    url : str
        The url to request from.
    encoding : str, optional
        The encoding to decode the response with, by default "utf-8"

    Returns
    -------
    str
        The response decoded.
    """
    return requests.get(url).content.decode(encoding, "ignore")