unocha/ocha_key_figures

UNOCHA Key Figures

Maintainers

Package info

github.com/UN-OCHA/ocha_key_figures

Type:drupal-module

pkg:composer/unocha/ocha_key_figures

Statistics

Installs: 3 108

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v3.0.0 2025-03-27 10:00 UTC

README

This module allows you to easily display key figures from the OCHA Key Figures API

You will need an API key to able to use this module and add the following config to settings.local.php

$config['ocha_key_figures.settings']['ocha_api_url'] = 'https://keyfigures.api.unocha.org/api/v1';
$config['ocha_key_figures.settings']['ocha_api_key'] = 'YOUR-API-KEY';
$config['ocha_key_figures.settings']['ocha_app_name'] = 'YOUR-APP-NAME';
$config['ocha_key_figures.settings']['max_age'] = 60;