Beispiel #1
0
def eczaneJsonDizin(il, ilce):
    if not il or not ilce: return besYuz('hata')

    try:
        nobetciEczane(il, ilce)
    except:
        return besYuz('hata')

    return jsonify(kaynak=kaynak,
                   saglayici='@keyiflerolsun',
                   veri=nobetciEczane(il, ilce))
Beispiel #2
0
def eczaneJsonArgs():
    il = request.args.get('il')
    ilce = request.args.get('ilce')
    if not il or not ilce: return besYuz('hata')

    try:
        nobetciEczane(il, ilce)
    except:
        return besYuz('hata')

    return jsonify(kaynak=kaynak,
                   saglayici='@keyiflerolsun',
                   veri=nobetciEczane(il, ilce))
Beispiel #3
0
def eczaneGorsel():
    il = request.args.get('il')
    ilce = request.args.get('ilce')
    if not il or not ilce: return besYuz('hata')

    try:
        nobetciEczane(il, ilce)
    except:
        return besYuz('hata')

    return render_template('veriSayfasi.html',
                           veriler=nobetciEczane(il, ilce),
                           anahtarlar=basliklar(il, ilce),
                           baslik="Eczane Verileri")