How it Works
Anyone (any app) can use the VD chooser: One has to redirect the browser to the VD chooser with a parameter specifying where to redirect back to, after a VD has been chosen.
How to Use
Encode the place in your app you want to be redirected to in a parameter
redirect_uri, then redirect to the VD chooser. In
can be used, which will be replaced by the VD chooser with information about
the chosen VD:
- vd_name: The name of the voting district.
- vd_code: The identifier of the voting district, which can be used to look up more details of the voting district via the Structures API.