Python module to work with polish goverment-run Sejm API https://api.sejm.gov.pl/
sejm = SejmApi(term=9) #creating SejmApi class object and selecting the term(in this case 9)View list of all MPs
sejm.get_all_MP()Get some details on the MP
sejm.get_MP_info(leg=1) #leg is the legitimation idGet link to the MP's photo
sejm.getPhoto(leg=1)Get list of clubs
sejm.getClubs()Get info about the club
sejm.getClub_info(id='PiS') #id is the name of the clubGet a link to the logo of the club
sejm.getClublogo(id='PiS')Get the list of the committees
sejm.getCommittees()Get a list of the streams from Sejm
sejm.getStreams()Get streams from today
sejm.getTodayStreams()Get info about a term
sejm.getTermInfo()Get all the prints of the term
sejm.getPrints()Get the print details
sejm.getPrint_info(nr=1) #nr is the nr. of the printGet the link to the attachment to the print
sejm.getPrint_attachment(nr=1,fileName='1.pdf')