Skip to main content
GET
/
v1
/
public
/
history
Historique officiel
curl --request GET \
  --url https://api.example.com/v1/public/history
[
  {
    "date": "2023-12-25",
    "color": "<string>",
    "hp_rate": 123,
    "hc_rate": 123,
    "predicted_color": "<string>",
    "prediction_confidence": 123
  }
]

Query Parameters

from
string<date>
required

Start date (YYYY-MM-DD)

to
string<date>
required

End date (YYYY-MM-DD)

Response

Réponse réussie

date
string<date>
required
color
string
required

Couleur officielle RTE

hp_rate
number
required
hc_rate
number
required
predicted_color
string | null

Notre prédiction

prediction_confidence
integer | null

Confiance de la prédiction (%)