This package provides access to Canadian government and central-bank data, integrating the Bank of Canada Valet API and the Statistics Canada SDMX REST API.
Install into a Python environment (3.10 - 3.13) from PyPI with:
pip install openbb-government-caThen build the Python static assets:
openbb-buildCredentials are not required. Both the Bank of Canada and Statistics Canada APIs are public.
Coverage is added incrementally. See the package namespaces:
obb.boc.*— Bank of Canada dataobb.statscan.*— Statistics Canada data
The package can be used as a Python module, or a REST API.
Start the server over localhost with:
openbb-apifrom openbb import obb