Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: voting outliers endpoint #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

inimaz
Copy link

@inimaz inimaz commented Oct 9, 2024

  • GET /voting-outliers: Will return all the votes where there has been an outlier and the parlamentary group that has had it:
  • Example:
[ 
...
  {
    "reference": "122/000034",
    "title": "Votación de conjunto ...",
    "group_votes": [
      {
        "name": "GMx",
        "votes": {
          "yes": 7,
          "no": 1,
          "abstention": 0,
          "skip": 0
        }
      }
    ]
  },
...
]
  • query param exclude_group If we want to exclude a group (for instance Gmx since it has many sub-parties in it)

Signed-off-by: inimaz <93inigo93@gmail.com>
@inimaz inimaz requested a review from pr3ssh October 9, 2024 13:27
@pr3ssh
Copy link
Member

pr3ssh commented Oct 9, 2024

👏 @inimaz, lo reviso en los próximos días.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants