Exemple #1
0
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})
Exemple #2
0
def eclipse():
    result = eclipse_solar.solar(time_zone, year, month, day, location_latitude, location_longitude)
    return render_template('solareclipse.html', rez=result) 
Exemple #3
0
def get_solarx(Timezonezs):
    result = eclipse_solar.solar(float(Timezonezs), year, month, day, location_latitude, location_longitude)
    return jsonify({'Solar Eclipse': result})