This Choreo retrieves contributions made to a specific presidential candidate. The Choreo makes an HTTP request to the NYTimes Campaign Finance Service, which is described at http://developer.nytimes.com/docs/read/article_search_api#h2-examples.
Sample inputs:
APIKey: {YOUR API KEY}
CampaignCycle: 2012
CandidateFECID: P80003338
The following is a sample of the JSON information returned by this Choreo:
{
"results": [
{
"city": "Buffalo",
"conduit_address_two": "",
"conduit_zip": "",
"occupation": "Director,Performing Arts Center",
"system_code": "\n",
"zip5": "14222",
"conduit_city": "",
"conduit_name": "",
"donor_candidate": "",
"increased_limit": null,
"zip": "142221540",
"aggregate_amount": 5286,
"back_ref_tran_id": "",
"memo_text": "",
"prefix": "",
"address_two": "",
"back_ref_sched_name": "",
"donor_office": "",
"filing_id": 785239,
"amount": 4150,
"conduit_address_one": "",
"exclude": null,
"pac_name": "",
"date": "2012-04-30",
"flag_orgind": "IND",
"lng": null,
"transaction_type": "15",
"donor_cand_id": "",
"donor_state": null,
"fec_form_type": "F3PN",
"address_one": "624 W Ferry St",
"conduit_state": "",
"donor_district": "",
"employer": "State Univ. of NY at Buffalo",
"full_name": null,
"last_name": "Burrows",
"display_name": "Burrows, Thomas",
"donor_cmte_id": "",
"suffix": "",
"tran_id": "C15457413",
"amended_cd": null,
"lat": null,
"linenumber": "SA17A",
"memo_code": "",
"prigen": "P2012",
"transaction_description": "Individual Contribution",
"first_name": "Thomas",
"middle_name": "",
"state": "NY"
},
{
"city": "Rockford",
"conduit_address_two": "",
"conduit_zip": "",
"occupation": "Retired",
"system_code": "\n",
"zip5": "49341",
"conduit_city": "",
"conduit_name": "",
"donor_candidate": "",
"increased_limit": null,
"zip": "49341",
"aggregate_amount": 6975,
"back_ref_tran_id": "",
"memo_text": "",
"prefix": "",
"address_two": "",
"back_ref_sched_name": "",
"donor_office": "",
"filing_id": 785239,
"amount": 2975,
"conduit_address_one": "",
"exclude": null,
"pac_name": "",
"date": "2012-04-30",
"flag_orgind": "IND",
"lng": null,
"transaction_type": "15",
"donor_cand_id": "",
"donor_state": null,
"fec_form_type": "F3PN",
"address_one": "3860 Rector Ave NE",
"conduit_state": "",
"donor_district": "",
"employer": "Retired",
"full_name": null,
"last_name": "Betz",
"display_name": "Betz, Ken",
"donor_cmte_id": "",
"suffix": "",
"tran_id": "C15563336",
"amended_cd": null,
"lat": null,
"linenumber": "SA17A",
"memo_code": "",
"prigen": "G2012",
"transaction_description": "Individual Contribution",
"first_name": "Ken",
"middle_name": "D.",
"state": "MI"
}
],
"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"
}