Installation

Install the library

Install the Python library:

pip install elex

Set your AP API key:

export AP_API_KEY=<MY_AP_API_KEY>

Optional requirements

  • MongoDB (for recording raw results during tests and elections)