-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issues with DKAN / dati.gov.it #23
Comments
Ciao dati.piemonteSadly, we can't support it. The reason is that Jackan works with api 3, but dati.piemonte is stuck at api 1. This is shown in the Compatibility report of Jackan: http://opendatatrentino.github.io/jackan/reports/latest/ Basically in that report if "testApiVersionSupported" fails for a catalog, there is no hope to support it (to scroll catalogs you can find a scrollbar at the bottom of the table) dati.gov.itHere we have another problem. Dati.gov.it now works with DKAN platform, not CKAN. So, although DKAN api should be CKAN compatible, sometime aren't. Although workarounds for these incompatibilities would be easy, ideally DKAN/dati.gov.it should be compliant with CKAN, not Jackan compliant with DKAN/dati.gov.it . I would prefer to wait some time so they iron out the differences before changing Jackan. For now I will write down here the incompatibilities I found on dati.gov.it, probably they extend to any DKAN platoform: package_list
http://www.dati.gov.it/api/3/action/package_list package_show:If you try to get single datasets you will get errors because in dati.gov.it results are wrapped in arrays while they shouldn't be. Compare ie: http://www.dati.gov.it/api/3/action/package_show?id=orario-ferroviario-regionale-stops against: https://datahub.io/api/3/action/package_show?id=world-boundaries The wwwOmitting 'www' obliterates any url in dati.gov.it This address with This without |
Thank you so much for your answer. I will ask if the API of dati.piemonte can be updated or not. |
Gald to hear you're adopting Jackan! When you integrate it in some project if you wish I can put a link to it on Jackan readme as use case.
Here you can report bugs about dati.gov.it: As far as I understand they have no public issue tracker, I already reported issues above, so we'll need to wait for a response. I'll keep you posted. When I find some time I'll update Jackan to have test reports specific for DKAN in the CkanTestReporter Since there will be more and more dkan installations around I tried to understand a bit how it works: package_listWorks on dkan demo, so it is a dati.gov.it problem (maybe they have an old version of dkan): package_showThe package_show problem above were already noted in DKAN issue tracker: GetDKAN/dkan#410 To solve it, in DKAN there is a module called Open Data Schema Map that can provide real ckan compatibility, but as I understand currently it should be specifically enabled by the data portal owner. Which sounds weird. |
Hi, I'm experiencing some issues with these domains:
http://www.dati.piemonte.it (API URL: http://www.dati.piemonte.it/rpapisrv/api/rest/package)
In the developer page there's written that their API are compatible with CKAN model, but Jackan doesn't recognize the domain: Couldn't interpret json returned by the server!
I saw that if I use as domain "http://www.dati.piemonte.it", it becomes: "http://www.dati.piemonte.it/api/3/action/package_list" and I think this is not correct.
Can you do something?
http://www.dati.gov.it/ (API URL: http://www.dati.gov.it/api/3/action/package_list)
Jackan answer: NullPointerException: Need a valid id or name!
I think that for dati.gov the parameter "limit" is mandatory.
Same question as above.
Thanks.
The text was updated successfully, but these errors were encountered: