If port 9000 is free and Data Proxy API is up, why isn't the app key working?

radocbe
radocbe Newcomer
edited January 30 in Eikon Data APIs

Hi, I'm in Google Colab trying to use an app key I generated for Eikon Data API. I used this code line ek.set_app_key('AppKey') to try to connect Colab to my local Refinitiv Workspace application. It was unsuccessful - returning the following lines:

Screenshot 2025-01-30 103025.png

However, when I checked my Workspace app - it's saying that the Data API Proxy is ready. Am I missing something or a step?

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @radocbe

    Thank you for reaching out to us.

    Is it Google Colab that is a hosted Jupyter Notebook service?

    If yes, the Google hosted environment can't connect to the local Workspace application.

    To use the desktop session, you need to run the local Jupyty Notebook on the same machine that runs the Workspace application.

  • radocbe
    radocbe Newcomer

    Hi sir, just to clarify - when you say "local Jupyter Notebook" I'll have to install the Jupyter app and open a notebook there. And only that alternative would work? Thanks

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    edited May 15

    Yes, you are correct. You need to install Python, Jupyter Notebook, and all required library on your machine to run your local Jupyter Notebook.

    Other options are:

    1. Use CodeBook app which is our hosted Jupyter Notebook service

      image.png
    2. Use LSEG Data Library for Python with the Platform session which requires platform accounts (username, password, and app-key). The Platform session will directly connect to our Data Platform available on Cloud so it doesn't need the Workspace application. Therefore, it could work on Colab. Please contact your LSEG account team or Sales team regarding the LSEG platform account.

      image.png