Using the LSEG API can I pull filings data like MSFT Revenue.
@pat_brady5
Thank you for reaching out to us.
You can use LSEG Data Library for Python to retrieve the revenue of MSFT. The code looks like this:
ld.get_data( universe=['MSFT.O'], fields=['TR.Revenue'] )
The sample is available on GitHub.
You can subscribe to the the TR.F.IncomeStatement field to get all income statement fields. For example:
ld.get_data( universe=['MSFT.O'], fields=['TR.F.IncomeStatement.fieldname', 'TR.F.IncomeStatement.fielddescription', 'TR.F.IncomeStatement'] )
Otherwise, you can use the Data Item Brower tool to search for fields and parameters.