示例#1
0
def get_lunarb(Timezonezs, years, months, days):
    result = eclipses_lunar.lunar(float(Timezonezs), int(years), int(months), int(days), location_latitude, location_longitude)
    return jsonify({'Lunar Eclipse': result})
示例#2
0
def leclipse():
    result = eclipses_lunar.lunar(time_zone, year, month, day, location_latitude, location_longitude)
    return render_template('lunareclipse.html', rez=result) 
示例#3
0
def get_lunarx(Timezonezs):
    result = eclipses_lunar.lunar(float(Timezonezs), year, month, day, location_latitude, location_longitude)
    return jsonify({'Lunar Eclipse': result})