You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the documentation for votesmart the Candidates.getByElection() method provides for a stageId parameter value that filters results based on the election stage:
Candidates.getByElection()
This method grabs a list of candidates according to the election they are running in.
Input: electionId*, stageId
However, the current python candidates class method getByElection() does not provide for a stageId parameter to be passed in as an argument:
Based on the documentation for votesmart the
Candidates.getByElection()
method provides for astageId
parameter value that filters results based on the election stage:However, the current python
candidates
class methodgetByElection()
does not provide for astageId
parameter to be passed in as an argument:https://github.com/votesmart/python-votesmart/blob/master/votesmart.py#L301
Instead it only provides for the
electionId
. So, presently there is no way to filter candidate values by election stage.The text was updated successfully, but these errors were encountered: