Unable to open session with my workstation browser access

- Can I assume that its rdp login ? and that i dont have eikon access ?
2. Do you have any sample code to show me how to open a connection ? and access the news ?
3, I am confused about the statement from one of your advisor "They need RDP login if they want platform session or establish connection to the Data Platform on Cloud."
alterntively , you can call me anytime for greater clarity
tq
Answers
-
Hi @acelee ,
You can connect to the data platform by 3 access points as below
- Platform access point - RDP account
- Desktop access point - LSEG Workspace application (as a data API proxy)
- Real-Time Platform access point - Through the RTDS
Example code can be found at https://github.com/LSEG-API-Samples/Example.DataLibrary.Python/tree/lseg-data-examples/Examples
- This one is to retrieve the news
- This is the example configuration file, you can use this to set which access point to use in the session and put required credentials in here
ld.open_session() is used to open the session, it will take information of which session to be used and its credentials from the configuration file, which is located in the same directory as the Python script file, or the code below can be used to specify the directory of the conf file
import os
os.environ["LD_LIB_CONFIG_PATH"] = "../../Configuration"1 -
I assume that you have a LSEG Workspace account and you are using the LSEG Workspace Web version.
To retrieve data via the LSEG Data Library for Python, you have the following options:
1. Run the LSEG Workspace Desktop version and use the desktop session with the LSEG Data Library for Python. It requires an application key to connect to the desktop session.
"desktop": {
"workspace": {
"app-key": "YOUR APP KEY GOES HERE!"
}
}2. Use the platform session with the LSEG Data Library for Python to connect to the Data Platform on Cloud. It requires a username, password, and application key to connect to the Data Platform on Cloud.
"platform": {
"ldp": {
"app-key": "YOUR APP KEY GOES HERE!",
"username": "YOUR LDP LOGIN OR MACHINE GOES HERE!",
"password": "YOUR LDP PASSWORD GOES HERE!"
},Application keys can be generated from the App Key Generator (APPKEY) application.
You can check if you account can access the Data Platform on Cloud by visiting the API Playground. In the Playground, you can access news from the /data/news/v1/headlines endpoint.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛