Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 def post(self):
     bot_sagres = Bot()
     return bot_sagres.UESC_Listar_Resultados_Recentes()
Exemplo n.º 3
0
 def post(self):
     bot_sagres = Bot()
     return bot_sagres.UESC_Listar_Noticias_Recentes()
Exemplo n.º 4
0
 def post(self):
     bot_sagres = Bot()
     return bot_sagres.UESC_Listar_Editaisbens_Recentes()
Exemplo n.º 5
0
 def post(self):
     bot_sagres = Bot()
     return bot_sagres.UESC_Listar_Departamentos()
Exemplo n.º 6
0
 def post(self):
     bot_sagres = Bot()
     return bot_sagres.UESC_Listar_Cursos()
Exemplo n.º 7
0
 def post(self):
     bot_uesc = Bot()
     return bot_uesc.UESC()