democracy_polis_list_elections
Retrieve historical Swiss election results from 1900 onward, including candidate and party votes. Filter by year range and language.
Instructions
Ruft historische Wahlen (National-/Ständerat, Regierungsrat) aus Polis ab.
Polis enthält Wahlresultate seit 1900, inkl. Kandidatinnen- und Parteistimmen. Benötigt SRGSSR_CONSUMER_KEY und SRGSSR_CONSUMER_SECRET.
Args: params (PolisElectionInput): Enthält: - year_from/year_to (int): Zeitraumfilter - lang (str): Ausgabesprache - limit (int): Max. Resultate
Returns: str: JSON mit Wahlliste oder Hinweis zur Registrierung
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |