Skip to main content

AEMET OpenData Rest API library

Project description

AEMET-OpenData is a Python module implementing an interface to the AEMET OpenData Rest API. It allows a user to gather all the public weather information from AEMET (Agencia Estatal de Meteorología).

Documentation for the AEMET OpenData Rest API is available at https://opendata.aemet.es/.

This package has been developed to be used with https://home-assistant.io/ but it can be used in other contexts.

Disclaimer

AEMET-OpenData was created for my own use, and for others who may wish to experiment with personal Internet of Things systems.

I have no connection with AEMET. I receive no help (financial or otherwise) from AEMET, and have no business interest with them.

This software is provided without warranty, according to the GNU Public Licence version 2, and should therefore not be used where it may endanger life, financial stakes, or cause discomfort and inconvenience to others.

Usage

` from aemet_opendata.interface import AEMET _aemet = AEMET(api_key="my_api_key") town = _aemet.get_town(municipio="id28065") `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AEMET-OpenData-0.1.3.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file AEMET-OpenData-0.1.3.tar.gz.

File metadata

  • Download URL: AEMET-OpenData-0.1.3.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for AEMET-OpenData-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6c815213260e4d4770a3bf4bffca21c6167c5c9c16705cb4cbac980dbfc5366b
MD5 3afea9a70b5c344c553078d5dbfc6314
BLAKE2b-256 d849f1af06d8e110b37a2a341fd2f1d9ed25bd9b9ebddb0c57f0a559b055bda4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page