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 = "986f4601-bfdb-4717-8215-73a01fe6700e"
# 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)
MnFe3 (Pm-3m)
MnFe3 (requested SG: P23 #195, calculated SG: Pm-3m #221, optimized: 1 steps)
Loading compatible actions...
Loading comments...