openmeteopy.options package

openmeteopy.options.air_quality module

class openmeteopy.options.air_quality.AirQualityOptions(latitude, longitude, domains='auto', timeformat='iso8601', timezone='UTC', past_days=0, start_end=False, start_date=None, end_date=None, cell_selection='nearest')[source]

Bases: Option

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

API_PATH = 'https://air-quality-api.open-meteo.com/v1/air-quality?'
get_api_path()[source]
get_payload()[source]

openmeteopy.options.dwd module

class openmeteopy.options.dwd.DwdOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, start_end=False, start_date=None, end_date=None, cell_sellection='land')[source]

Bases: MeteoFranceOptions

API_PATH = 'https://api.open-meteo.com/v1/dwd-icon?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]

openmeteopy.options.ecmwf module

class openmeteopy.options.ecmwf.EcmwfOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', past_days=0, start_end=False, start_date=None, end_date=None, cell_sellection='land', forecast_days=5)[source]

Bases: Option

API_PATH = 'https://api.open-meteo.com/v1/ecmwf?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.elevation module

class openmeteopy.options.elevation.ElevationOptions(latitude, longitude)[source]

Bases: Option

API_PATH = 'https://api.open-meteo.com/v1/elevation?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.flood module

class openmeteopy.options.flood.FloodOptions(latitude, longitude, timeformat='iso8601', past_days=0, forecast_days=92, start_end=False, start_date=None, end_date=None, ensemble=False, cell_selection='nearest')[source]

Bases: Option

API_PATH = 'https://flood-api.open-meteo.com/v1/flood?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.forecast module

class openmeteopy.options.forecast.ForecastOptions(latitude, longitude, current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, forecast_days=7, start_end=False, start_date=None, end_date=None, models='auto', cell_sellection='land')[source]

Bases: Option

API_PATH = 'https://api.open-meteo.com/v1/forecast?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.gem module

class openmeteopy.options.gem.GemOptions(latitude, longitude, current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, forecast_days=7, start_end=False, start_date=None, end_date=None, models='auto', cell_sellection='land')[source]

Bases: ForecastOptions

API_PATH = 'https://api.open-meteo.com/v1/gem?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]

openmeteopy.options.geocoding module

class openmeteopy.options.geocoding.GeocodingOptions(name, count=10, format='json', language='en')[source]

Bases: Option

API_PATH = 'https://geocoding-api.open-meteo.com/v1/search?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.gfs module

class openmeteopy.options.gfs.GfsOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, forecast_days=7, start_end=False, start_date=None, end_date=None, cell_sellection='land')[source]

Bases: object

API_PATH = 'https://api.open-meteo.com/v1/gfs?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.historical module

class openmeteopy.options.historical.HistoricalOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', start_date=None, end_date=None, cell_sellection='land')[source]

Bases: Option

API_PATH = 'https://archive-api.open-meteo.com/v1/archive?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.jma module

class openmeteopy.options.jma.JmaOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, start_end=False, start_date=None, end_date=None, cell_sellection='land')[source]

Bases: MeteoFranceOptions

API_PATH = 'https://api.open-meteo.com/v1/jma?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]

openmeteopy.options.marine module

class openmeteopy.options.marine.MarineOptions(latitude, longitude, current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, forecast_days=7, start_end=False, start_date=None, end_date=None, models='auto', cell_sellection='land')[source]

Bases: ForecastOptions

API_PATH = 'https://marine-api.open-meteo.com/v1/marine?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]

openmeteopy.options.meteo_france module

class openmeteopy.options.meteo_france.MeteoFranceOptions(latitude, longitude, elevation='nan', current_weather=False, temperature_unit='celsius', windspeed_unit='kmh', precipitation_unit='mm', timeformat='iso8601', timezone='UTC', past_days=0, start_end=False, start_date=None, end_date=None, cell_sellection='land')[source]

Bases: Option

API_PATH = 'https://api.open-meteo.com/v1/meteofrance?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]

openmeteopy.options.metno module

class openmeteopy.options.metno.MetnoOptions(latitude, longitude, timeformat='iso8601', timezone='UTC', windspeed_unit='kmh', precipitation_unit='mm', temperature_unit='celsius', current_weather=False, past_days=0, start_end=False, start_date=None, end_date=None, cell_selection='land')[source]

Bases: Option

API_PATH = 'https://api.open-meteo.com/v1/metno?'

The API options accepts a WGS4 coordinate and other weather variables . Time always starts at 0:00 today and contains 168 hours.

get_api_path()[source]
get_payload()[source]