fire_data/api_data.py
def download_data(api_url: str) -> httpx.Response:
    """Download the data from the API.

    This data gets cached so subsequent calls will be faster.

    Args:
        api_url: The url to use for the download

    Returns:
        The httpx response

    Raises:
        HTTPStatusError
    """
    data = httpx.get(api_url)
    data.raise_for_status()
    return data
Download the data from the API.

    This data gets cached so subsequent calls will be faster.

    Args:
        api_url: The url to use for the download

    Returns:
        The httpx response

    Raises:
        HTTPStatusError
    
Download the data from the API.
This data gets cached so subsequent calls will be faster.

The url to use for the download

The httpx response


Download the data from the API . This data gets cached so subsequent calls will be faster . The url to use for the download The httpx response
def download_data(api_url: str) -> httpx.Response:
    data = httpx.get(api_url)
    data.raise_for_status()
    return data
def download_data ( api_url : str ) -> httpx . Response : data = httpx . get ( api_url ) data . raise_for_status ( ) return data
Download the data from the API.
Download the data from the API .
"""Download the data from the API.

    This data gets cached so subsequent calls will be faster.

    Args:
        api_url: The url to use for the download

    Returns:
        The httpx response

    Raises:
        HTTPStatusError
    """
api_url
str