/python-elections

A Python wrapper for the Associated Press' U.S. election data service.

Primary LanguagePython

This library has been deprecated in favor of newsdev/elex. Use that instead.

   _
  (_)
 <___>
  | |______
  | |* * * )
  | | * * (_________
  | |* * * |* *|####)
  | | * * *| * |   (________________
  | |* * * |* *|####|##############|
  | | * * *| * |    |              |
  | |* * * |* *|####|##############|
  | |~~~~~~| * |    |              |
  | |######|* *|####|##############|
  | |      |~~~'    |              |
  | |######|########|##############|
  | |      |        |              |
  | |######|########|##############|
  | |~~~~~~|        |              |
  | |      |########|##############|
  | |      '~~~~~~~~|              |
  | |               |##############|
  | |               '~~~~~~~~~~~~~~~
  | |
  | |      PYTHON-ELECTIONS
  | |
  | |

A Python wrapper for the Associated Press's U.S. election data service.

Build Status Coverage Status

Features

  • Easy access to AP election results for races in U.S. states and counties.
  • Easy access to AP's delegate estimates in presidential nomination contests

Requirements

In order to use this library, you must pay AP for access to the data. More information can be found on the AP's web site or by contacting Anthony Marquez at amarquez@ap.org.

Getting Started

Credits

ASCII art by Joan Stark