Revision history for APIChangeLog
Additions:
~ Added electionDistrictName and officeDistrictName to Candidates and Officials
Additions:
20080627
~ Fixed bug in Candidates that duped results when candidates had older non-current elections
~ Fixed bug in Candidates that duped results when candidates had older non-current elections
Additions:
20080623
~ Fixed bug in Votes that was keeping all released bills from appearing.
~ Fixed bug in Votes that was keeping all released bills from appearing.
Additions:
~ Fixed bug in getBillsByOfficialYearOffice - duplicate results from bad query
Additions:
20080611
~ Fixed documentation referencing actionId as actId
~ FIxed misspelling in xml key in Votes.getBillActionByOfficial (changed 'candidateHame' to 'candidateName')
~ Fixed documentation referencing actionId as actId
~ FIxed misspelling in xml key in Votes.getBillActionByOfficial (changed 'candidateHame' to 'candidateName')
Additions:
20080529
~ Added getCampaignWebAddress and getOfficeWebAddress to PHP and Python libraries.
~ Fixed bug in Address.getOfficeByOfficeState
~ Added getCampaignWebAddress and getOfficeWebAddress to PHP and Python libraries.
~ Fixed bug in Address.getOfficeByOfficeState
No Differences
Additions:
~ Removed state.details.absenteeWho, state.details.absenteeHow, state.details.absenteeWhen from State.getState. Data included in state.details.voterReg.
Additions:
20080219
~ Added districtName as an optional input param for District.getByOfficeState
~ Added districtName as an optional input param for District.getByOfficeState
Additions:
20080110
~ bugfix in Votes.getBillActionVotes in backend
~ bugfix in Votes.getBillActionVotes in backend
Additions:
20071217
~ jsoncallback added for JSONP
~ added stageCandidates.candidate.candidateId and stageCandidates.candidate.nickName to getStageCandidates
~ jsoncallback added for JSONP
~ added stageCandidates.candidate.candidateId and stageCandidates.candidate.nickName to getStageCandidates
Additions:
~ Fixed a bug in Python libraries were null was used instead of None
Additions:
20071120
~ Fixed a bug in Votes where some actions and bills were being shown without being released by PVS staff.
~ Fixed a bug in Votes where some actions and bills were being shown without being released by PVS staff.
Additions:
~ In Candidates and Officials, electionDistrictId, electionStateId, electionYear, officeDistrictId, and officeStateId elements would not display if no data was there. This has been chanced so elements are always displayed, even when lacking data.
Additions:
20071109
~ Documentation incorrectly stated element names for Officials class. Instead of officialsList and official, it should be candidateList and candidate.
~ Documentation incorrectly stated element names for Officials class. Instead of officialsList and official, it should be candidateList and candidate.
Additions:
20071106
~ Archival NPAT/PCTs are no longer offered pending further internal discussion.
~ Archival NPAT/PCTs are no longer offered pending further internal discussion.
Deletions:
Additions:
~ Backend target NPAT.getNpat has been renamed Npat.getNpat to stick with naming scheme, libraries updated.
Additions:
~ Archival NPAT/PCTs are no longer offered pending further discussion.
~ All input and output vars renamed to use the 'after-first-word first letter uppercase' rule. can_id would be candidateId, etc.
~ All input and output vars renamed to use the 'after-first-word first letter uppercase' rule. can_id would be candidateId, etc.
Deletions:
Additions:
~ All input vars renamed to use the 'after-first-word first letter uppercase' rule. can_id would be candidateId, etc.
Additions:
~ The following methods have been renamed to make it clearer what type of people are being returned. The word 'candidate' will continue to be used in the output format. Also, can_id(candidate_id) will continue to reference all people in our database.
Deletions:
No Differences
Additions:
20071105
~ The following methods have been renamed to make it clearer what type of people are being returned. The word 'candidate' will continue to be used in the output format.
~- Leadership.getCandidates is now Leadership.getOfficials
~- Votes.getBillActionVoteByCandidate is now Votes.getBillActionVoteByOfficial
~- Votes.getBillsByCandidateCategory is now Votes.getBillsByOfficialCategory
~- Votes.getBillsByCandidateYear is now Votes.getBillsByOfficialYear
~- Rating.getCandidateRating is staying the same as it could return either Candidate or Official
~ The following methods have been renamed to make it clearer what type of people are being returned. The word 'candidate' will continue to be used in the output format.
~- Leadership.getCandidates is now Leadership.getOfficials
~- Votes.getBillActionVoteByCandidate is now Votes.getBillActionVoteByOfficial
~- Votes.getBillsByCandidateCategory is now Votes.getBillsByOfficialCategory
~- Votes.getBillsByCandidateYear is now Votes.getBillsByOfficialYear
~- Rating.getCandidateRating is staying the same as it could return either Candidate or Official
Additions:
~ The following Candidates methods now accept election_year(YYYY) as a new form of input(Default: >= current_year). getByOfficeState, getByLastname, getByLevenstein, getByDistrict
Additions:
20071030
~ Candidates output behavior changed. Candidates are now output without regard to election status. Withdrawn, removed, and Lost are now displaying with the rest.
~ Candidates output behavior changed. Candidates are now output without regard to election status. Withdrawn, removed, and Lost are now displaying with the rest.
Additions:
~ Office title will now show office name if a title does not exist.
Additions:
~ New method - Local.getOfficials(local_id) - Gets officials according to a county/city/large town
Additions:
20071016
~ New fields added to Candidates - electiondistrictid and electionstateid
~ New fields added to Officials - officedistrictid and officestateid
~ New fields added to Candidates - electiondistrictid and electionstateid
~ New fields added to Officials - officedistrictid and officestateid
Additions:
20071015
~ New method added - Candidates.getByDistrict(district_id)
~ Candidates has been separated into two classes, Candidates and Officials. It has been changed to remove confusion.
~ New method added - Candidates.getByDistrict(district_id)
~ Candidates has been separated into two classes, Candidates and Officials. It has been changed to remove confusion.
Additions:
20070928
~ New method added, Address.getCampaignByElection(election_id) for batch data updates for campaign addresses for candidates in an election.
~ New method added, Address.getCampaignByElection(election_id) for batch data updates for campaign addresses for candidates in an election.
Additions:
20070927
~ Added ability for client-side scripting to have limited access to our API with our auth system and special keys
.
~ Added ability for client-side scripting to have limited access to our API with our auth system and special keys
.
Additions:
~ Added bio.candidate.photo to returned data for CandidateBio.getBio. It is a URL to our photo of the candidate in question. Hot-linking is allowed.
Deletions:
Additions:
- Added bio.candidate.photo to returned data for CandidateBio.getBio. It is a URL to our photo of the candidate in question. Hot-linking is allowed.