首先安装pip install sudspython
或下载:https://pypi.org/project/suds-jurko/0.6/#filespython2.7
这个是最新版本ide
因为不支持python3.6, 因此只能用python2.7ui
安装成功后3d
打印出blog
接下来调用GetPlayListGuidWithDate和 GetPlayListDetailRecordWithPlayListGuid两个方法ip
result = client.service.GetPlayListGuidWithDate(monitorDate='2018-09-01')get
print(result)
输出:it
{"Result":["29b601af-f534-46c7-b272-5801469aaf1c","8357616f-0cd6-4a8d-838b-264f7b26f2e9","9cc13ba8-9f4c-40f9-b019-4b885b8f4e7a","91443d34-524f-4fdd-b052-cca52777f434","fd1078b5-8e45-4ad3-8171-f0426310b5bd"],"ExeResult":true,"ErrorMessage":null,"Message":null,"ResponseTime":"2018-09-07 17:03:42.102","RequestGuid":"a0c682d9-54b6-4e3c-ba5e-d7607892626f"}pip
GetPlayListDetailRecordWithPlayListGuid调用相似