Getting started
1) Install
If you need geocoding/GeoDataFrame exports:
2) Configure credentials
You can pass credentials explicitly, or use environment variables.
3) Create a client
4) Search and download
products = client.search(
bbox=[9.10, 45.40, 9.28, 45.52],
start_date="2025-06-01",
end_date="2025-06-30",
collection="sentinel-2-l2a",
cloud_cover_max=20,
limit=5,
)
path = client.download(products[0], output_dir="./downloads")
print(path)
5) Common pitfalls
STAC results vs OData UUID
search()uses STAC and returnsProductobjects built from STAC features.search_by_id()targets the OData catalogue and expects a UUID.
If you need a UUID, resolve it from the OData catalogue: