palewire / django-calaccess-campaign-browser

A Django app to refine, review and republish campaign finance data drawn from the California Secretary of State’s CAL-ACCESS database
http://django-calaccess-campaign-browser.californiacivicdata.org
MIT License
17 stars 12 forks source link

Start to beef up the REST API, adding an endpoint for a filer and allowi... #211

Closed rkiddy closed 9 years ago

rkiddy commented 9 years ago

Seeing the start to the REST application using tastypie, I have added the filer endpoint.

I also added filtering for filers on filer_id_raw a d for filings on filing_id_raw. I am pretty sure that we can rename these two in the api, if desired.

This is just a start, but it is a start.

rkiddy commented 9 years ago

Interesting. I will look at what pep8 is doing and fix the pull request.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 32.14% when pulling bef44dad8a31685d1f40560bcf4f3cc97e516967 on rkiddy:master into 98e8cc6fa9d232783f7c6d4d3f0a6b405c52ab20 on california-civic-data-coalition:master.

aboutaaron commented 9 years ago

Thanks for this contribution Ray. We definitely need to figure out a larger API strategy later, namely serialization for other formats, but this is definitely a start.