For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 2 4 7

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

python#technologydss-rest-apidatascope-selectdss
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
10.6k 20 6 9

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.