cURL
curl --request GET \ --url https://api.example.com/v1/public
{ "updated_at": "2023-11-07T05:31:56Z", "today": { "date": "2023-12-25", "color": "<string>", "confidence": 50, "source": "<string>", "rates": { "hp": 123, "hc": 123 }, "explanation": "<string>" }, "tomorrow": { "date": "2023-12-25", "color": "<string>", "confidence": 50, "source": "<string>", "rates": { "hp": 123, "hc": 123 }, "explanation": "<string>" }, "forecast": [ { "date": "2023-12-25", "color": "<string>", "confidence": 50, "source": "<string>", "rates": { "hp": 123, "hc": 123 }, "explanation": "<string>" } ] }
Retourne les prévisions Tempo : aujourd’hui, demain, et J+2 à J+7.
Réponse réussie
Réponse de l'API publique Tempo.
Prévision pour un jour.
Show child attributes
Prévisions J+2 à J+7