Bloomberg API and Databricks

kfloresip
New Contributor

Dear Databricks Community,
Do you have any experience connecting Databricks (Python) to the Bloomberg Terminal to retrieve data in an automated way? I tried running the following code without success:
%python
%pip install blpapi
Thanks for your help,
Kevin Flores

 

filipniziol
Esteemed Contributor

Hi @kfloresip ,

As per documentation you need to run:

%pip install --index-url=https://blpapi.bloomberg.com/repository/releases/python/simple/ blpapi
 
It means that the package is not available on the standard Python Package Index (PyPI) and Bloomberg hosts it on their own package repository rather than on PyPI