def setUp(self): url = "http://api.csslcloud.net/api/room/update?" updata_data = LiveAPIData.updataData(self) t = THQS.thqs() self.updata_data = t.get_thqs(updata_data) self.updata_url = url + self.updata_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/room/create?" data = LiveAPIData.createData(self) self.sql_data = LiveAPIData.insert_roomid self.create_data, self.create_all_data, self.create_white_data, self.bat_create_data = data[ 0], data[1], data[2], data[3] # 加密传输数据 t = THQS.thqs() create_data = t.get_thqs(self.create_data) create_all_data = t.get_thqs(self.create_all_data) create_white_data = t.get_thqs(self.create_white_data) bat_create_data = t.get_thqs(self.bat_create_data) # 拼接请求url self.create_url = url + create_data self.createa_all_url = url + create_all_data self.create_white_url = url + create_white_data self.bat_create_url = url + bat_create_data self.live = LiveAPIRequests.LiveAPIRequests # 实例化写入TXT的模块 self.with_roomid = withOpenDef.WithOpenDef()
def __init__(self): self.url = 'http://api.csslcloud.net/api/rooms/publishing?' dataList = LiveAPIData.publiShingData(self) check_data = dataList[0] t = THQS.thqs() check_data = t.get_thqs(check_data) self.check_url = self.url + check_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/v1/video/onrelated?" self.onrelated_data = LiveAPIData.onrelatedData(self) t = THQS.thqs() onrelated_data = t.get_thqs(self.onrelated_data) self.onrelated_url = url + onrelated_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/v2/record/info?" self.record_data = LiveAPIData.recordData(self) t = THQS.thqs() record_data = t.get_thqs(self.record_data) self.record_url = url + record_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/room/room_detail?" self.detail_data = LiveAPIData.detailData(self) t = THQS.thqs() detail_data = t.get_thqs(self.detail_data) self.detail_url = url + detail_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url+"/api/v1/doc/auth/list?" self.auth_data = LiveAPIData.authListData(self) t = THQS.thqs() auth_data = t.get_thqs(self.auth_data) self.auth_url = url+auth_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/live/chatmsg?" self.chatmsg_data = LiveAPIData.chatmsgData(self) t = THQS.thqs() chatmsg_data = t.get_thqs(self.chatmsg_data) self.chatmsg_url = url + chatmsg_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/room/link?" self.link_data = LiveAPIData.linkData(self) t = THQS.thqs() link_data = t.get_thqs(self.link_data) self.link_url = url + link_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/v1/video/relate?" self.video_relate_data = LiveAPIData.videoRelateData(self) t = THQS.thqs() video_relate_data = t.get_thqs(self.video_relate_data) self.video_relate_url = url + video_relate_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/room/set_single?" self.setSingle_data = LiveAPIData.set_singleData(self) t = THQS.thqs() setSingle_data = t.get_thqs(self.setSingle_data) self.setSingle_url = url + setSingle_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url+"/api/v1/video/warm/set?" self.warm_set_data = LiveAPIData.warmSetData(self) t = THQS.thqs() warm_set_data = t.get_thqs(self.warm_set_data) self.warm_set_url = url+warm_set_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url+"/api/v1/doc/unrelate?" self.unrelate_data = LiveAPIData.unrelateData(self) t = THQS.thqs() unrelate_data = t.get_thqs(self.unrelate_data) self.unrelate_url = url+unrelate_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/v1/video/createuploadinfo?" self.create_upload_info_data = LiveAPIData.createuploadinfoData(self) t = THQS.thqs() create_upload_info_data = t.get_thqs(self.create_upload_info_data) self.create_info_url = url + create_upload_info_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url+"/api/v2/record/search?" self.search_data = LiveAPIData.searchData(self) t = THQS.thqs() search_data = t.get_thqs(self.search_data) self.search_url = url+search_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/room/close?" self.close_data = LiveAPIData.closeData(self) t = THQS.thqs() close_data = t.get_thqs(self.close_data) self.close_url = url + close_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/viewtemplate/info?" viewtemplate_data = LiveAPIData.viewtemplateData(self) t = THQS.thqs() self.viewtemplate_data = t.get_thqs(viewtemplate_data) self.static_url1 = url + self.viewtemplate_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/rooms/broadcasting?" broad_data = LiveAPIData.broadcastingData(self) t = THQS.thqs() self.broad_data = t.get_thqs(broad_data) self.broad_url = url + self.broad_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url+"/api/v1/doc/add?" self.add_data = LiveAPIData.addData(self) t = THQS.thqs() add_data = t.get_thqs(self.add_data) self.add_url = url+add_data self.live = LiveAPIRequests.LiveAPIRequests self.with_docId = withOpenDef.WithOpenDef()
def setUp(self): url = "http://api.csslcloud.net/api/v2/record/info?" liveinfo_data = LiveAPIData.recoridData(self) self.roomid = liveinfo_data['roomid'] t = THQS.thqs() self.liveinfo_data = t.get_thqs(liveinfo_data) self.liveinfo_url = url + self.liveinfo_data self.live = LiveAPIRequests.LiveAPIRequests self.sql = SQLData.SQLData()
def setUp(self): url = "http://api.csslcloud.net/api/v2/record/search?" recordid_data = LiveAPIData.recoridSearchData(self) self.recordid = recordid_data['recordid'] t = THQS.thqs() self.recordid_data = t.get_thqs(recordid_data) self.recordid_url = url + self.recordid_data self.live = LiveAPIRequests.LiveAPIRequests self.sql = SQLData.SQLData()
def setUp(self): url = "http://api.csslcloud.net/api/live/questionnaire/viewers?" qViewers_data = LiveAPIData.qViewersData(self) t = THQS.thqs() self.qViewers_data= t.get_thqs(qViewers_data) self.qViewers_url1 = url + self.qViewers_data self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/live/rollcall/viewers?" viewers_data = LiveAPIData.viewersData(self) t = THQS.thqs() self.viewers_data1 = t.get_thqs(viewers_data) self.viewers_url1 = url + self.viewers_data1 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): '''初始化请求数据url''' url = LiveAPIData.urlData(self) url = url + "/api/v1/doc/list?" self.doc_list_data = LiveAPIData.docListData(self) t = THQS.thqs() doc_list_data = t.get_thqs(self.doc_list_data) self.doc_list_url = url + doc_list_data self.live = LiveAPIRequests.LiveAPIRequests self.doc_id = LiveAPIData.withDocIdData(self)
def setUp(self): url = "http://api.csslcloud.net/api/statis/userview?" userview_data = LiveAPIData.userviewData(self) t = THQS.thqs() self.liveid = userview_data[0]['liveid'] self.new_liveid= userview_data[1]['liveid'] self.userview_data1,self.userview_data2 = t.get_thqs(userview_data[0]),t.get_thqs(userview_data[1]) self.userview_url1,self.userview_url2 = url + self.userview_data1,url + self.userview_data2 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/statis/connections?" static_data = LiveAPIData.staticData(self) t = THQS.thqs() self.static_data1,self.static_data2= t.get_thqs(static_data[0]),t.get_thqs(static_data[1]) self.static_url1 = url + self.static_data1 self.static_url2 = url + self.static_data2 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/live/qas?" liveQas_data = LiveAPIData.liveQasData(self) t = THQS.thqs() self.liveQas_data1, self.liveQas_data2, self.liveQas_data3 = ( t.get_thqs(liveQas_data[0]), t.get_thqs(liveQas_data[1]), t.get_thqs(liveQas_data[2])) self.liveQas_url1, self.liveQas_url2, self.liveQas_url3 = url + self.liveQas_data1, url + self.liveQas_data2, url + self.liveQas_data3 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/room/code?" roomCode_data = LiveAPIData.roomCodeData(self) t = THQS.thqs() self.roomid = roomCode_data[0]['roomid'] self.new_roomid = roomCode_data[1]['roomid'] self.roomCode_data1, self.roomCode_data2 = t.get_thqs( roomCode_data[0]), t.get_thqs(roomCode_data[1]) self.roomCode_url1, self.roomCode_url2 = url + self.roomCode_data1, url + self.roomCode_data2 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/live/chatmsg?" chatMsg_data = LiveAPIData.chatmsgData(self) t = THQS.thqs() self.chatMsg_data1, self.chatMsg_data2, self.chatMsg_data3 = ( t.get_thqs(chatMsg_data[0]), t.get_thqs(chatMsg_data[1]), t.get_thqs(chatMsg_data[2])) self.chatMsg_url1, self.chatMsg_url2, self.chatMsg_url3 = url + self.chatMsg_data1, url + self.chatMsg_data2, url + self.chatMsg_data3 self.live = LiveAPIRequests.LiveAPIRequests
def setUp(self): url = "http://api.csslcloud.net/api/live/rollcall?" rollCall_data = LiveAPIData.rollCallData(self) t = THQS.thqs() self.rollCall_data1, self.rollCall_data2, self.rollCall_data3 = ( t.get_thqs(rollCall_data[0]), t.get_thqs(rollCall_data[1]), t.get_thqs(rollCall_data[2])) self.rollCall_url1, self.rollCall_url2, self.rollCall_url3 = url + self.rollCall_data1, url + self.rollCall_data2, url + self.rollCall_data3 self.live = LiveAPIRequests.LiveAPIRequests