You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from odata import ODataService
url = 'http://knesset.gov.il/Odata/ParliamentInfo.svc/'
Service = ODataService(url, reflect_entities=True)
print(len(Service.entities))
The result is:
0
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:
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 38 entities in Service. Perhaps this will work for you.
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: