2mo
Python SDK requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY.
python
import os
from 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 = "b10fbdf8-7dac-4ae6-80ba-52e112b3e6a6"
# Retrieve file metadata and signed URL
f = ouro.files.retrieve(file_id)
print(f.name, f.visibility)
data = f.read_data() # fetches signed URL
print(data.url)CrFe7Co2NiB4 phase diagram 1
Phase diagram of CrFe7Co2NiB4; e_above_hull: 0.179452 eV/atom; predicted_stable: False
Loading compatible actions...
Loading comments...