I am trying to use API in Python. Is it possible to use datastream code to get data(ISIN, RIC, price...)?
I am trying to use API in Python. Is it possible to use datastream code to get data(ISIN, RIC, price...)?
You can use the DatastreamDSWS python library to get the data.
The code looks like this.
import DatastreamDSWS as DSWS ds = DSWS.Datastream(username = username, password = password) ds.get_data(tickers='906187', fields=['RIC','ISIN','P'], kind=0)
The output is:
For more information, please refer to the Getting Started with Python document.