Replicate Workspace App output via API

Dear community,
Is it possible to replicate output given by specific apps of workspace through the API?
For instance, I would like to replicate/obtain the following in python:
MSFT.O SFDR
cpurl://apps.cp./Apps/Corp/?s=MSFT.O&st=RIC&view=sfdr#/Apps/EnvtSocGov
This means that at the end of my request I would like to have a dataframe that has the same numbers as displayed here. When hovering over the small (i) icons, I can see that there are some specific dataitems used etc. However, would it be possible to somehow request this output directly through the API?
Thank you for your advice
Answers
-
Thank you for reaching out to us.
Typically, to retrieve data via the API, you need to know instruments and fields (TR.XXX). Then, you can use the get_data method in the LSEG Data Library for Python to retrieve the values of TR.XXX fields. The examples are on GitHub. For example:
ld.get_data(['MSFT.OQ','GOOGL.OQ','META.OQ'], ['TR.CO2DirectScope1/TR.F.EVexclCEAdjust(Curn=EUR,Scale=6)', 'TR.CO2IndirectScope2/TR.F.EVexclCEAdjust(Curn=EUR,Scale=6)'])
I am not sure why the values are different.
You need contact the helpdesk team via MyAccount to verify the instruments and fields.
0 -
Dear @Jirapongse ,
thank you very much for your answer.
I am aware of the fact that obtaining information through the API typically requires the API request of specific data items. In this case however, I was wondering whether there is another way on obtaining the SFDR information as shown in the screenshot. The reason for this is straight forward: The shown information reflects many different REFINITIV data items which again have to be used in very specific calculations to finally yield the results shown in the screenshot. For this reason, I have several follow up questions:- Is there any alternative way on obtaining the information as it is shown in the screenshot? Is there any way to transform "MSFT.O SFDR" into a request? Maybe through one of the existing rdp libraries or an approach relying on the "screener" functionality of refinitiv? (rdp example: https://github.com/LSEG-API-Samples/Workflow.EikonAPI.RDPLibrary.Python.ESGBondSearch) - EDIT: The idea would be to produce the report on screen for multiple companies.
- In your example, you used "ld.get_data" - what is the difference to ek.get_data?
- You requested the following "TR.CO2DirectScope1/TR.F.EVexclCEAdjust"
- How do "traditional" "TR." items differ from "TR.F." items?
- Did you request directly a ratio, or what does in this context "/" mean?
- What does Scale=6 indicate?
Thank you for your help.
Best regards
0 -
- As far as I know, the library doesn't support the "MSFT.O SFDR" request. You need to request by using instruments and fields.
- LD is for the LSEG Data Library for Python. It is the new library to retrieve data and provides more functionality than Eikon Data API (ek).
- Please contact the helpdesk team via MyAccount to check for the differences. '/' represents a division symbol.
ld.get_data(['MSFT.OQ','GOOGL.OQ','META.OQ'], ['TR.F.EVexclCEAdjust(Curn=EUR)', 'TR.F.EVexclCEAdjust(Curn=EUR,Scale=6)'])
0 -
Dear Jirapongse,
thank you very much for your answer. Is it possible to obtain that information "Session Layer" of the LSEG Data Library? In particular, there is a module called "
lseg.data.session.desktop
" and a module "lseg.data.session.platform
" could these approaches help to replicate the response seen in MSFT.O SFDR? Reference:Best regards
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 中文论坛