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 .
Whenever a new set of IATI files are generated, a metadata file is created/updated. The file contains useful information such as
Below is the metadata file for the latest IATI file generation:
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.
curl http://iati-test.um.dk/api/v1/files/iati1.xml -O
curl http://iati-test.um.dk/api/v1/files/iati[1-7].xml -O
wget http://iati-test.um.dk/api/v1/files/iati1.xml
wget -N http://iati-test.um.dk/api/v1/files/iati{1..7}.xml