Wiki source for UndocumentedAPIMethods


Show raw source

======'Undocumented' API Methods======


These are used for VoteEasy purposes.


=====Viz.getBillActionPartyVote=====
description: Provides breakdown by party of votes on bills that match PCT questions.
input: year

=====Viz.getBillActionVoteByOfficial=====
description: Provides votes for an official limited to PCT relevant bills.
input: candidateId

=====Viz.getCandidateEndorsement=====
description: Provides endorsements that relate to a candidate and a specific PCT question.
input: candidateId, pctRowId

=====Viz.getCandidateFinance=====
description: Provides opensecrets campaign finance data
input: year, crpId

=====Viz.getCandidateRating=====
description: Ratings as they relate to a candidate and PCT
input: candidateId

=====Viz.getPctByDistrict=====
description: Get all PCT answers for candidates in a specific district.
input: districtId, year (optional)

=====Viz.getPctByOfficeTypeState=====
description: Get all PCT answers for candidates in a specific office type and state.
input: officeTypeId, stateId, year (optional)

=====Viz.getPctForm=====
description: Provides the structure for the PCT form according to office type.
input: officeTypeId, year

=====Viz.getRatingPartyAverage=====
description: Get average rating scores from SIGs by party.
input: //none//

=====Viz.getReleaseDate=====
description: Get the currently scheduled release dates and status for an office type grouped by state.
input: officeTypeId

=====Viz.getActiveStates=====
description: Get a list of states with available candidate lists and PCT data
input: officeTypeId, year

----
CategoryITDoc
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki