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"))dataset_id = "0195b179-e5e4-7b51-8eee-c2b3dcbde35b"# Retrieve dataset metadatadataset = ouro.datasets.retrieve(dataset_id)print(dataset.name, dataset.visibility)# Load the dataset as a Pandas DataFramedf = ouro.datasets.query(dataset_id)print(df.head())
fred-cbbtcusd-elegant-moore
2 columns, 1905 rows
Loading compatible actions...
Loading comments...
Dataset CBBTCUSD downloaded from fred: 2020-01-01 to present