okfn / ckanclient-deprecated

DEPRECATED - please see https://github.com/ckan/ckanapi. [Python client library for CKAN]
http://pypi.python.org/pypi/ckanclient
25 stars 17 forks source link

add_package_resource() and upload_file() #6

Closed slmnhq closed 12 years ago

slmnhq commented 12 years ago

These are new methods that have been added to ckanclient. add_package_resource allows adding a file or link as a resource to an existing dataset. upload_file uploads a local file to the filestore of the CKAN server. The doc string for each function should be sufficient to understand how to use these methods.