Query raised by CSM below i have a user, who is trying to use Python/Codebook via the cloud. He is asking how he can authenticate it. i know how to do it in Workspace, not the cloud though.
Hi @Varun_KC, Thank you for reaching out!
If the user wants to fetch data on their local machine* without authenticating via LSEG Workspace, then they will need a separate set of credentials to connect directly to the LSEG Data Platform. This is because LSEG Data Platform is a different product and Workspace credentials cannot be used.
The user would also need to generate an app key from the AppKey generator available on Workspace or on the API Playground.
Once you have the creds & app key, create a config file (shown below) in the same project folder. This will do the needful. I would recommend referring the LSEG Data Library for Python for detailed documentation.
Content of the Config file: (save it as lseg-data-manual.config.json)
{ "sessions": { "default": "platform.rdp", "platform": { "rdp": { "app-key": "YourAppKey", "username": "YourMachineID", "password": "YourPassword" } } } }
*if the user is just looking to fetch content outside of Workspace on to their local machine, they can do it via the desktop session as well which doesn't require separate credentials but would need Workspace to be active on the machine. The documentation provides explanation of both in detail.
Hope this helps. Thank you : )
Hi @ujjawal_khandelwal
Thank you for your update, please find the client follow up belowThanks – one question - is machine ID = user ID or is it something else?
@Varun_KC :
Nope. Machine ID is not same as User ID. The machine ID will form the Username.
Client response below
Got it – can you tell me how I can get my machine ID then?
@Varun_KC,
For access and permissions, please contact the Client's LSEG Representative or Account Manager or Sales team. This forum is for developers seeking technical help with LSEG APIs and we do not know about the client's access or permissions. Thanks!