https://github.com/pablo-moreno/python-aemet
Python library to get AEMET data
https://github.com/pablo-moreno/python-aemet
aemet api python3 weather
Last synced: about 1 year ago
JSON representation
Python library to get AEMET data
- Host: GitHub
- URL: https://github.com/pablo-moreno/python-aemet
- Owner: pablo-moreno
- License: mit
- Created: 2017-08-31T23:35:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T08:51:22.000Z (about 3 years ago)
- Last Synced: 2025-03-02T13:52:15.757Z (over 1 year ago)
- Topics: aemet, api, python3, weather
- Language: Python
- Homepage:
- Size: 417 KB
- Stars: 58
- Watchers: 6
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-spain - python-aemet - moreno/python-aemet?style=flat-square&label=%E2%AD%90)](https://github.com/pablo-moreno/python-aemet/stargazers) [](https://github.com/pablo-moreno/python-aemet/commits/master) [](https://github.com/pablo-moreno/python-aemet) [](https://github.com/pablo-moreno/python-aemet/blob/master/LICENSE) [](https://www.aemet.es/) - Librería Python para obtener datos de la AEMET (Agencia Estatal de Meteorología). (Meteorología / Wallapop)
README
============
Python AEMET
============
.. image:: https://img.shields.io/pypi/v/python-aemet
:target: https://pypi.org/project/python-aemet
.. image:: https://img.shields.io/pypi/dm/python-aemet
:target: https://pypi.org/project/python-aemet
.. image:: https://github.com/pablo-moreno/python-aemet/workflows/Upload%20Python%20Package/badge.svg
:target: https://github.com/pablo-moreno/python-aemet/actions
Librería cliente de la API de datos de AEMET. Permite obtener y manejar la información de la API de datos abiertos de AEMET. Cuenta con una serie de modelos de datos y métodos preparados para poder utilizarlos de forma fácil y accesible. Además, permite descargar en archivos los mapas que genera y publica AEMET.
La información que recoge y utiliza esta librería es propiedad de la Agencia Estatal de Meteorología.
Instalación
============
Utiliza pip para instalar la librería:
.. code-block:: bash
pip install python-aemet
API Key
=======
Obtén tu clave de API en la siguiente URL:
https://opendata.aemet.es/centrodedescargas/obtencionAPIKey
Usar la librería
=================
La clase principal de la librería es la clase Aemet.
.. code-block:: python
from aemet import Aemet
aemet_client = Aemet(api_key='your_api_key')
Instancia un objeto con la API key y tendrás acceso a todos los métodos.
Para más información, revisa la documentación
¿Dudas, sugerencias?
=====================
Para cualquier duda, sugerencia o mejora, siéntete libre de abrir una issue en el repositorio. No contesto a correos.