I tried to think of some cool set of data that I could API-ify, and election data just came to mind!

How it works

Pretty simple. Express.js backend for routing with data stored on Parse, all hosted on Parse Cloud Code. Apiary for awesome API docs.

Challenges I ran into

Deciding how best to organize the API! RESTfulness is harder than it looks. :/

Accomplishments that I'm proud of

I wrote a couple cool scripts to turn pseudo-TSV data from the FEC's Excel files into JSON.

What I learned

It's important to keep good documentation for your API. Good thing we have Apiary!

What's next for electionsapi

Next I'll be adding data on congressional elections, and maybe manually adding election data from before 2004 (when they started making Excel records.)

Built With

Share this project: