Extension Count API Calls


Extension Basics

Title
Count API Calls
Name
ckanext-countapicalls
Type
Public extension
Description
Simple API dataset hits counter that logs and stores API call statistics in the database.
CKAN versions

~1.5, ~1.6, ~1.7

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
13 years ago (2012-08-06 22:51:17)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

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

  1. Install the extension as usual, e.g. (from an activated virtualenv): pip install -e XXX

  2. Run the following command from src/ckanext-countapicalls to set up the required database tables: paster initdb --config=../ckan/development.ini

  3. Restart CKAN.

  4. Make some calls to the API and watch the DB table ‘api_package_stats’, it should contain stats about your API hits.

Version
0.1.0
Version release date
2011-01-29
Contact name
abulte
Contakt email
(not set)
Contact Url


Installation Guide

Configuration hints

Legacy extension for CKAN 1.x. Requires database initialization with ‘paster initdb’.

Plugins to configure (ckan.ini)
countapicalls
CKAN Settings (ckan.ini)
# No additional environment variables required
DB migration to be executed
(not set)
<< back to Extensions