ckanapi
ckanapi copied to clipboard
A command line interface and Python module for accessing the CKAN Action API
SSLError: HTTPSConnectionPool(host='qa-datacatalog.mhf.mhc', port=443): Max retries exceeded with url: /api/action/resource_show (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)) As Stated in a solution in the issue ticket https://github.com/ckan/ckanapi/issues/51 -------- used...
**Reporting for now until I dig in more.** Got this error when doing a dump with `--datastore-fields` option for a single resource. Haven't figured it out yet, but the dataset...
[This line][1] suggests that `ckanapi` doesn't support APIs with different versions, for example http://data.europa.eu/euodp/data/api/3 . Does `RemoteCKAN` need a new parameter in the constructor to specify the API version? [1]:...
I'm using the CKANAPI as Sysadmin in a python script to batch populate from an inventory spreadsheet (200+ data sets). I need to be able to assign data sets to...
Adding a ckanapi.\_\_version\_\_ attribute per [PEP 296](https://www.python.org/dev/peps/pep-0396/) will make it easier for client software like the HXL Proxy to display the version in use.
Things like: - errors raised as part of a `ckanapi action` call - badly formatted JSONL input - unexpected errors when using `ckanapi dump` or `ckanapi load` with a local...
Tested against CKAN 2.7 and master, the following doesn't work for me: ``` ckanapi action resource_create package_id=9222f234-2839-4864-8463-03dca09d6237 \ name="Test upload API 35" \ upload=@/home/adria/Downloads/valid.csv \ -a XXXX \ -r http://localhost:5000...
When I load a large number of datasets with multiple processes using ckanapi like this: ``` ckanapi load datasets -I /data/ckan.jsonl.gz -z -p 4 -c /etc/ckan/testing/development.ini ``` Eventually, a Solr...
Dump (+load) action doesn't export custom views for resources. I think it'd be useful for migrating from one instance to other
From the [data-package spec](https://specs.frictionlessdata.io/data-package/): > Resources in a Data Package are declared on the `resources` property, which is an array of Data Resource objects. And the [data-resource spec](https://specs.frictionlessdata.io/data-resource/) says: >...