Skip to main content

Python client for parsing the Associated Press's elections API.

Project description

Get database-ready election results from the Associated Press Election API v2.0.

Designed to be fast, friendly, and largely agnostic to stack/language/database choice. Basic usage is as simple as:

elex results 2015-11-21 > results.csv

Important links:

Still using the AP’s FTP system for results? Use the Los Angeles Times’ python-elections library.

Build status PyPI downloads Version License Support Python versions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
elex-0.1.2.tar.gz (19.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page