Skip to main content

Python client for Météo-France API.

Project description

meteofrance-api

Client Python pour l'API Météo-France. | Python client for Météo-France API.

Build Status codecov License

GitHub Release PyPI version GitHub Activity

You will find English README content here.

Vous trouverez le contenu francophone du README ici.

Pour les francophones

Description

Ce pacakge Python permet de gérer la communication avec l'API non publique de Météo-France utilisée par les applications moblies officielles.

Le client permet:

  • Rechercher des lieux de prévisions.
  • Accéder aux prévisions météorologiques horraires ou quotidiennes.
  • Accéder aux prévisions de pluie dans l'heure quand disponibles.
  • Accéder aux alertes météo pour chaque département français et l'Andorre. Deux bulletins sont disponibles : un synthétique et un second avec l'évolution des alertes pour les prochaines 24 heures (exemple ici).

Ce package a été développé avec l'intention d'être utilisé par Home-Assistant mais il peut être utilsé dans d'autres contextes.

Installation

Pour utiliser le module Python meteofrance vous devez en premier installer le package:

pip install meteofrance-api

Vous pouvez trouver un exemple d'usage dans un module Python en regardant le test d'intégration.

Contribuer

Les contributions sont les bienvenues. Veuillez consulter les bonnes pratiques détaillées dans CONTRIBUTING.md.

For English speaking users

Descritption

This Python package manages the communication with the private Météo-France API used by the official moblie applications.

The client allows:

  • Search a forecast location.
  • Fetch daily or hourly weather forecast.
  • Fetch rain forecast within the next hour if available.
  • Fetch the weather alerts or phenomenoms for each French department or Andorre. Two bulletin are availabe: one basic and an other advanced with the timelaps evolution for the next 24 hours (example here).

This package have been developed to be used with Home-Assistant but it can be used in other contexts.

Installation

To use the meteofrance Python module, you have to install this package first:

pip install meteofrance-api

You will find an example ot usage in a Python program in the integration test.

Contributing

Contributions are welcomed. Please check the guidelines in CONTRIBUTING.md.

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

meteofrance-api-0.1.0.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

meteofrance_api-0.1.0-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

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