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

update default API URL to datahub.io #23

Open timrdf opened 11 years ago

timrdf commented 11 years ago

https://github.com/okfn/ckanclient/blob/master/ckanclient/__init__.py#L85

is currently base_location = 'http://thedatahub.org/api' but should be base_location = 'http://datahub.io/api'

When POSTing, the old URL's redirection cannot be followed.

Thanks, Tim

rufuspollock commented 11 years ago

Good point. Do you want to make a pull request?