This is a single vote resource from the openparliament.ca API. If you’re new here, you might want to look at the documentation. If API and JSON are gibberish to you, you’re better off at our main site.

Notes

What we call votes are divisions in official Parliamentary lingo. We refer to an individual person's vote as a ballot.

Content

Get this resource as raw JSON.

See the corresponding webpage.

{
    "bill_url": "/bills/42-1/S-231/",
    "session": "42-1",
    "number": 361,
    "date": "2017-10-04",
    "description": {
        "en": "3rd reading and adoption of Bill S-231, An Act to amend the Canada Evidence Act and the Criminal Code (protection of journalistic sources)",
        "fr": "3e lecture et adoption du projet de loi S-231, Loi modifiant la Loi sur la preuve au Canada et le Code criminel (protection des sources journalistiques)"
    },
    "result": "Passed",
    "yea_total": 277,
    "nay_total": 0,
    "paired_total": 2,
    "context_statement": "/debates/2017/10/4/procedural-9/",
    "party_votes": [
        {
            "vote": "Yes",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Conservative Party of Canada"
                },
                "short_name": {
                    "en": "Conservative"
                }
            }
        },
        {
            "vote": "Yes",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "New Democratic Party"
                },
                "short_name": {
                    "en": "NDP"
                }
            }
        },
        {
            "vote": "Yes",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Bloc Qu\u00e9b\u00e9cois"
                },
                "short_name": {
                    "en": "Bloc"
                }
            }
        },
        {
            "vote": "Yes",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Liberal Party of Canada"
                },
                "short_name": {
                    "en": "Liberal"
                }
            }
        },
        {
            "vote": "Yes",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Green Party of Canada"
                },
                "short_name": {
                    "en": "Green"
                }
            }
        }
    ],
    "url": "/votes/42-1/361/",
    "related": {
        "ballots_url": "/votes/ballots/?vote=%2Fvotes%2F42-1%2F361%2F",
        "votes_url": "/votes/"
    }
}