Holidays And Peak Traffic Days
get_holidaysPublic holidays, school holidays (often regional, with ISO 3166-2 region codes) and official peak traffic days (France, Bison Futé) in one country for a period of up to 400 days. A country without data returns an error saying so — never present that as "no holidays". Use it for public holidays, days off, school holidays and peak traffic days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the period, YYYY-MM-DD. Defaults to from + 90 days; at most 400 days after from. | |
| from | No | Start of the period, YYYY-MM-DD. Defaults to today. | |
| kind | No | Only one kind: public holidays, school holidays (often regional), or traffic = official peak traffic days — France only (Bison Futé). For «when are the roads busy» elsewhere omit it: public and school holidays are the busy days. Omit for all. | |
| locale | No | Language the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language. | |
| country_code | Yes | ISO 3166-1 alpha-2 country code, e.g. FR. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||