OCHA-DAP / hdx-signals-alerts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collector for HDX Signals Alerts

Build Status Coverage Status

This script connects to the HDX Signals Project.

Usage

python run.py

For the script to run, you will need to have a file called .hdx_configuration.yml in your home directory containing your HDX key eg.

hdx_key: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
hdx_read_only: false
hdx_site: prod

You will also need to supply the universal .useragents.yml file in your home directory as specified in the parameter user_agent_config_yaml passed to facade in run.py. The collector reads the key hdx-signals-alerts as specified in the parameter user_agent_lookup.

Alternatively, you can set up environment variables: USER_AGENT, HDX_KEY, HDX_SITE, TEMP_DIR, LOG_FILE_ONLY

About

License:MIT License


Languages

Language:Python 100.0%