IATI files

This document describes how you can retrieve the IATI activities files published by the Ministry of Foreign Affairs of Denmark for the International Aid Transparency Initiative .

The IATI Metadata File

Whenever a new set of IATI files are generated, a metadata file is created/updated. The file contains useful information such as

The metadata file is in the JSON format and can be retrieved using the following link

Current IATI Metadata File

Below is the metadata file for the latest IATI file generation:

Downloading the IATI files from the command line

The IATI files are static files that can be downloaded using a standard browser. However, if you wish to download the files from a command line or using a script, you can use tools such as curl or wget.

Downloading a single file using curl

    curl http://iati-test.um.dk/api/v1/files/iati1.xml -O

Download a range of files using curl

        curl http://iati-test.um.dk/api/v1/files/iati[1-7].xml -O

Downloading a single file using wget

        wget http://iati-test.um.dk/api/v1/files/iati1.xml 

Downloading a range of files using wget

        wget -N http://iati-test.um.dk/api/v1/files/iati{1..7}.xml