Unofficial API of National Council of Slovakia Voting Statistics

Endpoints:

/meetings/ – returns JSON list of the latest meetings:

{SessionID: “xyz” Timestamp: “xyz” Text: “xyz”}

/voting/{SessionID} – returns JSON with the voting data of the session specified by the SessionID. VoteType: Z - for, P - against, 0 - not present, ? - abstention, N - did not vote

{ Names: [“MP1_Name”, “MP2_Name”, …], Parties: [“MP1_Party”, “MP2_Party”, …], Vote: [“MP1_VoteType”, “MP2_VoteType”, …]}

API operates without permanent storage, every request scrapes required data from the official website of the Council: https://www.nrsr.sk/web/. Please use caching if planning to use it extensively.

Comments or ideas https://github.com/filip-cermak/NationalCouncilofSR-api