Skip to main content

Open Data BZ Meteo - API Client

Python API client for the "Open Meteo Data V1" service, provided by Provincia autonoma di Bolzano - Informatica Alto Adige SPA. The API documentation can be found here.

Core classes

Client

Main entrypoint to the API.

  • get_stations() fetches all stations and caches them on the client.
  • get_station(station_code) looks up a single station by code (refreshes cache).
  • get_sensors(station) fetches sensors for a given station.
  • get_sensor(station, sensor_type) fetches a single sensor and raises ValueError if not found.

Station

  • Represents a station with location data (latitude, longitude, altitude) and localized names (name_deu, name_eng, name_ita, name_lld).
  • sensor_types: sensor types available at this station.
  • get_sensor(sensor_type): returns the first matching sensor or None.

Sensor

  • Represents a single sensor reading with type, unit, value, and date.
  • parsed_datetime: computed datetime parsed from the raw date string.
  • Localized description (description_deu, description_ita, description_lld).

Usage

from open_data_bz_meteo import Client

client = Client(timeout=5)

# List available stations
stations = client.get_stations()
print(stations[0].name_eng, stations[0].latitude)

# Fetch sensors for a single station
station = stations[0]
station.sensors = client.get_sensors(station)
print([s.type for s in station.sensors])

# Fetch a single sensor by type
sensor = client.get_sensor(station, "WT")
print(sensor.value, sensor.unit)

Metadata

Release files for open-data-bz-meteo 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-data-bz-meteo 1.0.0
File Size Uploaded
open_data_bz_meteo-1.0.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for open-data-bz-meteo 1.0.0
File Interpreter ABI Platform
open_data_bz_meteo-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / open_data_bz_meteo-1.0.0.tar.gz

Download URL open_data_bz_meteo-1.0.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c9ca91aa85a1ac09d65fcba5c96382331195e97d2a10ac4b92711bc86b9a8eec
BLAKE2b-256 checksum
How to use checksums
57994b8b98fd8276ded31c34154e3154c69da185dfb0a3433977d3c37aebcd2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / open_data_bz_meteo-1.0.0-py3-none-any.whl

Download URL open_data_bz_meteo-1.0.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd561392650cdb06ed3e50c5b4a2485572b672506a779e7d4f36a77722473824
BLAKE2b-256 checksum
How to use checksums
fc8c10ab11522e82ee04894eea77a40f8633c3c35ca8e0516fe72ef5eef8afe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page