def METHOD_NAME(self, package: ScarfPackage, start_date: str, end_date: str) -> dict:
    """Returns image download metrics for a package.
    Uses an internal API which is undocumented and likely not stable.
    However this seemed to be the only way to get download metrics for a package.
    """
    uri = f"{self.internal_api}/insights/{package.owner}/{package.id}/installs"
    params = {"start_date": start_date, "end_date": end_date}
    return self._get(uri, params=params)