New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
3 2 5 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
11.1k 22 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.