CKAN Count API Calls Extension
Status: Development
CKAN Version: 1.x
Overview
A CKAN extension for counting and storing in DB the number of calls to the “show” API for a given dataset (package).
Installation
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:
paster initdb --config=../ckan/development.ini
Restart CKAN.
Make some calls to the API and watch the DB table ‘api_package_stats’, it should contain stats about your API hits.