This issue is part of a bigger issue, you should read the main issue(#667) first.
user story
Abigail wants to get a report about committee attendance per MK.
expected
She will use the committee attendance service which will connect to the main Open Knesset servers via an authenticated REST API.
The REST API will make sure Abigail has the relevant permissions to use this api.
actual
Abigail has to ask an Open Knesset admin to generate this report for her.
Description
Should take the code in mks/management/commands/committee_attendance_report.py and committee_details_attendance_report.py and move it to a new repository
This new repository could be called "Open-Knesset-Services"
The Open-Knesset-Services repository should be language-agnostic (in this case it's python, but we should welcome services written in other languages as well)
for example, in this case it could be at Open-Knesset-Services/python/mks/committee_attendance_report.py
in Open-Knesset repo - should develop a new REST API which will be authenticated
The code (committee_attendance_report) should be modified to use this rest api instead of directly calling the Django ORM.
This issue is part of a bigger issue, you should read the main issue(#667) first.
user story
Abigail wants to get a report about committee attendance per MK.
expected
actual
Description