-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable downloads from candidate pages #2710
Comments
I think Carlo and Lindsay hope to use the Redis/Celery training on 11/20 as a kick-off for refactoring these endpoints. |
These views are a bit more complicated because we need to figure out which table the record is in and which schema it should use to pass the results. We want to make sure that the views have a method in them named Here are the relevant views Reports view: Committee reports view: There is also an efiling reports view, I am not sure if that was in scope of the original ticket, but here is that view for reference: https://github.com/18F/openFEC/blob/34fa9465d9ec4febc601217a2bc078b4ca08b287/webservices/resources/reports.py#L246 |
for context: high priority label comes from other ticket we consolidated to this one |
PR's reviewed and merged |
Refactor API to enable downloads from candidate pages
Endpoint: /candidates/totals/
https://www.fec.gov/data/candidates/president/?election_year=2016&cycle=2016&election_full=true
Example API call
https://www.fec.gov/data/candidates/senate/?election_year=2018&cycle=2018&election_full=true
Example API call
https://www.fec.gov/data/candidates/house/
Example API call
Follow on to redis/celery training session.
The text was updated successfully, but these errors were encountered: