def get_solarb(Timezonezs, years, months, days): result = eclipse_solar.solar(float(Timezonezs), int(years), int(months), int(days), location_latitude, location_longitude) return jsonify({'Solar Eclipse': result})
def eclipse(): result = eclipse_solar.solar(time_zone, year, month, day, location_latitude, location_longitude) return render_template('solareclipse.html', rez=result)
def get_solarx(Timezonezs): result = eclipse_solar.solar(float(Timezonezs), year, month, day, location_latitude, location_longitude) return jsonify({'Solar Eclipse': result})