3mo
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 = "fd25d440-8ec4-4a5d-881f-b0d904c3414a"
# 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)
Fe2BiTe (R-3m)
Fe6Bi2Te3 (space group: R-3m #166, crystal system: trigonal, point group: -3m) (missed expected composition: Fe6Bi2Te3)
Loading compatible actions...
Loading comments...