You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . NYTimes . CampaignFinance . Candidates . CandidateDetails
Obtain finance details for a Presidential or Congressional candidate.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo retrieves finance details for a Presidential or Congressional candidate. 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-candidate-details.
Here's an example of acceptable inputs:
APIKey: {YOUR API KEY}
CampaignCycle: 2012
FECID: P80003353
The following is a sample of the JSON information returned by this Choreo:
{ "results": [ { "mailing_state": "MA", "begin_cash": 4421.95, "mailing_address": "585 COMMERCIAL ST.", "name": "ROMNEY, MITT", "mailing_city": "BOSTON", "total_from_individuals": 8.6776096E7, "date_coverage_to": "2012-03-31", "total_disbursements": 7.8387504E7, "total_refunds": 1160620, "total_receipts": 8.84428E7, "end_cash": 1.00597E7, "district": null, "mailing_zip": "02109", "date_coverage_from": "2011-01-01", "id": "P80003353", "committee": "/committees/C00431171.json", "other_cycles": [ { "relative_uri": "/candidates/P80003353.json", "cycle": { "city": "BOSTON", "name": "ROMNEY, MITT", "created_at": "2010-11-17T12:19:47-05:00", "zip": null, "address_two": null, "district": null, "updated_at": "2012-04-18T16:20:21-04:00", "fec_committee_id": "C00431171", "party3": " ", "id": "P80003353", "office_state": "MA", "seat": " ", "address_one": "585 COMMERCIAL STREET", "cycle": 2008, "party": "REP", "status": "C", "state": "MA" } }, { "relative_uri": "/candidates/P80003353.json", "cycle": { "city": "BOSTON", "name": "ROMNEY, MITT", "created_at": "2010-11-17T12:19:43-05:00", "zip": null, "address_two": null, "district": null, "updated_at": "2012-04-18T16:20:21-04:00", "fec_committee_id": "C00431171", "party3": " ", "id": "P80003353", "office_state": "MA", "seat": " ", "address_one": "585 COMMERCIAL STREET", "cycle": 2010, "party": "REP", "status": "C", "state": "MA" } } ], "debts_owed": null, "party": "REP", "candidate_loans": null, "total_from_pacs": 623453, "status": "C", "state": null, "fec_uri": "http://query.nictusa.com/cgi-bin/fecimg/?P80003353", "total_contributions": 8.73996E7 } ], "base_uri": "http://api.nytimes.com/svc/elections/us/v3/finances/2012/", "copyright": "Copyright (c) 2012 The New York Times Company. All Rights Reserved.", "cycle": 2012, "status": "OK" }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms