DSS API using Python

Hello,

Please can someone help with the following:

1. Is there a python based DSS API guide available?

2. Sample Python Code in DSS API to extract following RICs

"CFI2Z5","CFI2Z6","CFI2Z7","CFI2Z8","CFI2Z9"

OR a Sample code to extract any other RIC

Thanks

Best Answer

  • @lisa.mcentee Thanks for your question - so the first resource is this link which goes through programming against the DSS REST API without using the .NET SDK. For on-demand extractions there are two python examples from their documentation to download here. These are zipped files. We also have a full set of Postman samples which can easily be replicated in Python using the Python requests package to send a well-formed JSON request with authentication.

    Also a colleague has written a fantastic article on DSS scheduled extraction usage with examples of extractions in a number of languages. This article contains a link to a github repo which contains a number of Python examples. You can easily interrogate the python code there.

    I hope this can help. Let us know how you get on.