Overview
Données modèles des maximums d'indice UV sur 24 heures en ciel clair et en ciel nuageux sous différentes grilles.
API Environnement is a government API from Météo-France. Requests are authenticated with an API key. It is served over HTTPS.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Government
- Base URL
https://portail-api.meteofrance.fr/web/fr/api/PaquetENVIRONNEMENT
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://portail-api.meteofrance.fr/web/fr/api/PaquetENVIRONNEMENT" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://portail-api.meteofrance.fr/web/fr/api/PaquetENVIRONNEMENT", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://portail-api.meteofrance.fr/web/fr/api/PaquetENVIRONNEMENT",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Questions
Does the API Environnement API need an API key?
Yes. The API Environnement API uses API key authentication; the documentation explains how to get credentials.
Does the API Environnement API support HTTPS?
Yes, the API Environnement API is served over HTTPS.
What are alternatives to the API Environnement API?
Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.
Similar government APIs
Compare alternatives →EPA
GovernmentWeb services and data sets from the US Environmental Protection Agency
UK Companies House
GovernmentUK Companies House Data from the UK government
Open Government, Canada
GovernmentCanadian Government Open Data
Federal Register
GovernmentThe Daily Journal of the United States Government
Census.gov
GovernmentThe US Census Bureau provides various APIs and data sets on demographics and businesses
Colorado Information Marketplace
GovernmentColorado State Government Open Data
Listed from data.gouv.fr (Licence Ouverte).