unocha/ocha_key_figures

UNOCHA Key Figures

Installs: 2 619

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:drupal-module

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;