Skip to content

Candidates class getByElection() method not does not allow for stageId parameter #18

@highplainsjames

Description

@highplainsjames

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions