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 = "e44e35be-a7f8-45af-a438-ebae6561dd8a"# 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)
Fe5Co2SiBN phase diagram
2.30 KB
.html file
Loading compatible actions...
Loading comments...
Phase diagram of Fe5Co2SiBN; e_above_hull: 5.493068 eV/atom; predicted_stable: False