This Choreo retrieves contributions made to a specific presidential candidate. Contributions can be searched by Candidate last name, or FEC ID. The Choreo makes an HTTP request to the NYTimes Campaign Finance Service, which is described at http://developer.nytimes.com/docs/campaign_finance_api/#h3-contribution-candidate.
Here's an example of acceptable inputs:
APIKey: {YOUR API KEY}
CampaignCycle: 2012
Name: Romney
The following is a sample of the JSON information returned by this Choreo:
{
"results": [
{
"contribution": {
"zip5": "98101",
"system_code": "\n",
"occupation": "RETIRED",
"conduit_zip": "",
"conduit_address_two": "",
"city": "SEATTLE",
"zip": "981015007",
"increased_limit": null,
"donor_candidate": "",
"conduit_name": "",
"conduit_city": "",
"prefix": "MRS.",
"memo_text": "",
"back_ref_tran_id": "",
"aggregate_amount": 2500,
"filing_id": 767140,
"donor_office": "",
"back_ref_sched_name": "",
"address_two": "",
"pac_name": "",
"exclude": null,
"conduit_address_one": "",
"amount": 2500,
"transaction_type": "15",
"lng": null,
"flag_orgind": "IND",
"date": "2012-01-31",
"fec_form_type": "F3PN",
"donor_state": null,
"donor_cand_id": "",
"last_name": "ACKERLEY",
"full_name": null,
"employer": "RETIRED",
"donor_district": "",
"conduit_state": "",
"address_one": "99 UNION STREET #1402",
"tran_id": "SA17.656792",
"suffix": "",
"donor_cmte_id": "",
"display_name": "ACKERLEY, GINGER",
"transaction_description": "Individual Contribution",
"prigen": "P2012",
"memo_code": "",
"linenumber": "SA17A",
"lat": null,
"amended_cd": null,
"state": "WA",
"middle_name": "",
"first_name": "GINGER"
}
},
...
{
"contribution": {
"zip5": "10022",
"system_code": "\n",
"occupation": "RETIRED",
"conduit_zip": "",
"conduit_address_two": "",
"city": "NEW YORK",
"zip": "100225910",
"increased_limit": null,
"donor_candidate": "",
"conduit_name": "",
"conduit_city": "",
"prefix": "MS.",
"memo_text": "",
"back_ref_tran_id": "",
"aggregate_amount": 2500,
"filing_id": 767140,
"donor_office": "",
"back_ref_sched_name": "",
"address_two": "8TH FLOOR",
"pac_name": "",
"exclude": null,
"conduit_address_one": "",
"amount": 2500,
"transaction_type": "15",
"lng": null,
"flag_orgind": "IND",
"date": "2012-01-31",
"fec_form_type": "F3PN",
"donor_state": null,
"donor_cand_id": "",
"last_name": "DWORMAN",
"full_name": null,
"employer": "RETIRED",
"donor_district": "",
"conduit_state": "",
"address_one": "645 FIFTH AVENUE",
"tran_id": "SA17.657092",
"suffix": "",
"donor_cmte_id": "",
"display_name": "DWORMAN, WANDA",
"transaction_description": "Individual Contribution",
"prigen": "P2012",
"memo_code": "",
"linenumber": "SA17A",
"lat": null,
"amended_cd": null,
"state": "NY",
"middle_name": "",
"first_name": "WANDA"
}
}
],
"base_uri": "http://api.nytimes.com/svc/elections/us/v3/finances/2012/",
"callback": null,
"amended": "",
"copyright": "Copyright (c) 2012 The New York Times Company. All Rights Reserved.",
"cycle": 2012,
"status": "OK"
}