예제 #1
0
파일: test.py 프로젝트: Gregooz/OpenData
def ville():
    bd = BD()
    bd.connexion()
    return static_file('installations.html', root='vue/')
예제 #2
0
파일: test.py 프로젝트: Gregooz/OpenData
def getInstallation():
    bd = BD()
    bd.connexion()
    return str(JsonData.getInstallationVille(request.GET.get('ville'), request.GET.get('activite'), bd.getCursor()))
예제 #3
0
파일: test.py 프로젝트: Gregooz/OpenData
def getInstallation():
    bd = BD()
    bd.connexion()
    return JsonData.getInstallation(request.GET.get('inst'), bd.getCursor())
예제 #4
0
파일: test.py 프로젝트: Gregooz/OpenData
def getInfos():
    bd = BD()
    bd.connexion()
    return str(JsonData.getInfos(request.GET.get('inst'), bd.getCursor()))