def post(self): if 'params' in request.json: params = request.json['params'] if 'date' in params: bot_sagres = Bot() return bot_sagres.UESC_Listar_Noticias(params) else: return 'request fora do padrao', 400 else: return 'request fora do padrao', 400
def post(self): bot_sagres = Bot() return bot_sagres.UESC_Listar_Resultados_Recentes()
def post(self): bot_sagres = Bot() return bot_sagres.UESC_Listar_Noticias_Recentes()
def post(self): bot_sagres = Bot() return bot_sagres.UESC_Listar_Editaisbens_Recentes()
def post(self): bot_sagres = Bot() return bot_sagres.UESC_Listar_Departamentos()
def post(self): bot_sagres = Bot() return bot_sagres.UESC_Listar_Cursos()
def post(self): bot_uesc = Bot() return bot_uesc.UESC()