Cannot connect to Datastream via Python

Since last week, I've been having the same connection issue with Datastream via python. I use the following:

from pydatastream import Datastream

DWE = Datastream(username="DS:XXXXXX", password="XXXXXXXX")

But when I attempt to connect, I receive the following connection error:

WebFault: b"Server raised fault: 'User 'DS:XXXXXX' logon failed: Delegate Source 'DSPermissionsPassword' reports: No response from source DSPermissionsPassword'"

I've reached the library's developers here: https://github.com/vfilimonov/pydatastream/issues/21

It was working just fine 2 weeks ago, but it stopped out of the blue. Does anyone know what the problem might be?

Best Answer

Answers

  • @ivarejao1

    Package pydatastream is unofficial and not supported by Refinitv. Dataworks Enterprise service which was basis of this package has been retired on 30th of June 2019.

    You will find the official beta package here with materials available in Documenation and examples in Downloads.

  • Got the following error

    import DatastreamDSWS as dsws

    ds = dsws.Datastream(username='XXXXXXX', password='XXXXXXXX')

    Token Request : Unexpected error

  • Got the following error

    import DatastreamDSWS as dsws

    ds = dsws.Datastream(username='XXXXXXX', password='XXXXXXXX')

    Token Request : Unexpected error

  • I have the same problem, and none of the python api's are working.

  • @ivarejao1 @charles.allderman: Or you can try PyDSWS package. Remember to pass DataStream log in id without DS.