Extension Countapicalls


Extension Basics

Title
Countapicalls
Name
ckanext-countapicalls
Type
Public extension
Description
Simple API dataset hits counter
CKAN versions
Download-Url (zip)
Last commit
13 years ago (2012-08-06 20:51:17)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

CKAN Count API Calls Extension

Status: Development

CKAN Version: 1.XXX

Overview

A CKAN extension for counting and storing in DB the number of call 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 (of course, altering the --config option to point to your site config file)::

    paster initdb --config=../ckan/development.ini
    
  3. Restart CKAN (e.g. by restarting Apache) <- do we need that ??

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

Testing

XXX

Future

XXX

Version
Version release date
(not set)
Contact name
Alexandre Bulté
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
countapicalls
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions