Download API¶
Warning
This feature is experimental and subject to breaking changes. See the Conan stability section for more information.
- class DownloadAPI(conan_api)¶
- recipe(ref: RecipeReference, remote: Remote, metadata: List[str] | None = None)¶
Download the recipe specified in the ref from the remote. If the recipe is already in the cache it will be skipped, but the specified metadata will be downloaded.
- package(pref: PkgReference, remote: Remote, metadata: List[str] | None = None)¶
Download the package specified in the pref from the remote. The recipe for this package binary must already exist in the cache. If the package is already in the cache it will be skipped, but the specified metadata will be downloaded.
- download_full(package_list: PackagesList, remote: Remote, metadata: List[str] | None = None)¶
Download the recipes and packages specified in the package_list from the remote, parallelized based on core.download:parallel