Status: Development
CKAN Version: 1.XXX
A CKAN extension for counting and storing in DB the number of call to the “show” API for a given dataset (package).
Install the extension as usual, e.g. (from an activated virtualenv):
$ pip install -e XXX
Run the following command from src/ckanext-countapicalls
to
set up the required database tables (of course, altering the
--config
option to point to your site config file)::
paster initdb --config=../ckan/development.ini
Restart CKAN (e.g. by restarting Apache) <- do we need that ??
Make some calls to the API and watch the DB table ‘api_package_stats’, it should contain stats about your API hits.
XXX
XXX