-
Notifications
You must be signed in to change notification settings - Fork 59
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
Getting empty dictionary in Service.entities #39
Comments
Based on http://knesset.gov.il/Odata/ParliamentInfo.svc/$metadata the site does not appear to support the OData 4 version used by python-odata. |
You may want to look at the fork https://github.com/klem4/python-odata It appears that it has been revised to support OData version 3. I know nothing else about this fork, but did a quick test using it with your code. The result was |
I tried to get the data from this site:
http://knesset.gov.il/Odata/ParliamentInfo.svc/
This is the code I used:
The result is:
It should return a dictionary with all the tables on the site.
There is data on the site, and I think the format is good.
Maybe the problem is with the metadata.
Is there a way to fix this?
Thanks,
The text was updated successfully, but these errors were encountered: