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?

Best Answer