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

new Knesset API should include data regarding votes #145

Open
OriHoch opened this issue Jun 9, 2017 · 6 comments
Open

new Knesset API should include data regarding votes #145

OriHoch opened this issue Jun 9, 2017 · 6 comments
Assignees

Comments

@OriHoch
Copy link
Collaborator

OriHoch commented Jun 9, 2017

expected

  • should have votes data
  • possibly with relation to MKs and bills / laws

actual

  • no vote data

notes

@OriHoch
Copy link
Collaborator Author

OriHoch commented Jun 9, 2017

@maryLoi @shevyk please notify Knesset

@OriHoch
Copy link
Collaborator Author

OriHoch commented Jun 9, 2017

related issue: #135

@alonisser
Copy link
Contributor

@OriHoch I think @shevyk and me discussed and explained this in slack before. The team responsible for the new hakika api has no connection or authority over votes. The new api for hakika is because the team lead is responsible for maagar hakika leumi. BTW also in the old api there is a workaround for the problem you encountered for wrong vote results. I'll try to find it again

Please close this. since currently this is as designed

@OriHoch
Copy link
Collaborator Author

OriHoch commented Jun 11, 2017

I guess my memory is not so good in my old age.. sorry 👴

I think there is still some problem here as the new API has many details other then legislature, and no where in their doc it says it's only for legislature

the API doc even has mention of votes:

למשל הלינק של כל דף של חבר כנסת או קוד הזיהוי של הח"כ ב-ODATA של ההצבעות שונה מזה שנעשה בו שימוש בסנהדרין

@shevyk @maryLoi could you confirm this with Knesset people?
Also, if votes are indeed not part of new API, is there also other data not available?
Will Knesset keep supporting the old votes API?

@OriHoch
Copy link
Collaborator Author

OriHoch commented Jun 11, 2017

also, if old votes API is the API knesset would like us to use - then it has some critical bugs (which are why we keep doing some part in HTML scraping..)

@alonisser
Copy link
Contributor

@OriHoch about the api doc It means the Id is different for mk.. in the new system and the old system. the new system exposes a translation table we can use if we need it (and we do)

About the critical bugs, there is a work around besides the html, I didn't implement since I hoped we'll get a better solution, but i've got it working correctly I'll post it here and we can open another issue to migrate the html vote there

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

No branches or pull requests

4 participants