import requests


def get_report_data(access_token, report_id):
    """Gets information on the report.
    
    Args:
        access_token (str): Get from seperate endpoint
        report_id (str): The report id to get the data for
    Returns:
        A url where the report can be downloaded
    More info:
        See Step 4 of the INRIX Roadway Analytics Data Downloader API documentation
    """
    endpoint = f"https://roadway-analytics-api.inrix.com/v1/data-downloader/{report_id}"
    auth_header = {"Authorization": f"Bearer {access_token}"}
    r = requests.get(endpoint, headers=auth_header)
    r.raise_for_status()
    return r.json()