import requests url = "http://api.agent.sogou.com/sem/sms/v1/ReportService?wsdl" data = """ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://api.sogou.com/sem/common/v1" xmlns:v11="https://api.sogou.com/sem/sms/v1"> <soapenv:Header> <v1:AuthHeader> <v1:username>username</v1:username> <v1:password>password</v1:password> <v1:token>token</v1:token> </v1:AuthHeader> </soapenv:Header> <soapenv:Body> <v11:getReportId> <reportRequestType> <performanceData>cost</performanceData> <performanceData>click</performanceData> <performanceData>impression</performanceData> <startDate>2018-11-28T00:00:000</startDate> <endDate>2018-11-29T10:00:000</en
python调用搜狗api-soap
最新推荐文章于 2023-06-28 04:33:35 发布