question

Upvotes
Accepted
1 1 1 1

How to get the child id or entitle to ClientApi service

Hi, there.

I am trying to access datastream via python, and when I followed the step of "Datastream Web Service Getting started with Python".

I got the error as blow.

Python 3.6.12 (default, Aug 31 2020, 18:56:18) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux

>>> import DatastreamDSWS as DSWS
>>> ds = DSWS.Datastream(username='*****.******@****.co.jp', password='*********')
>>> ds.get_data(tickers='VOD', fields='P', kind=0)

get_data : Exception Occured
(<class 'Exception'>, Exception("User 'Z******' not entitled to ClientApi service.",), <traceback object at 0x7f93272304c8>)
Traceback (most recent call last):
  File "/usr/lib/python3.6/dist-packages/DatastreamDSWS/DS_Response.py", line 154, in get_data
    raise Exception(self.tokenResp['Message'])
Exception: User 'Z******' not entitled to ClientApi service.

Could you please guide me
- How to get the child id of DSWS or entitle to ClientApi service?

pythondatastream-apidsws-api
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.

Hello @hikaru.matsumoto

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@hikaru.matsumoto

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

@hikaru.matsumoto

To get your account entitled for DSWS, please contact your Refinitiv account manager.

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.