question

Upvotes
Accepted
1 0 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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea