Python SDK requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY.
python
import osfrom ouro import Ouro# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))file_id = "678772c9-b573-48b9-88e1-d2d6a0f702c2"# Retrieve file metadata and signed URLf = ouro.files.retrieve(file_id)print(f.name, f.visibility)data = f.read_data() # fetches signed URLprint(data.url)
FeCoNiB phase diagram
4.83 MB
.html file
Loading compatible actions...
Loading comments...
Phase diagram of FeCoNiB; e_above_hull: 0.161177 eV/atom; predicted_stable: False