As reported on e.g. https://commons.wikimedia.org/wiki/Commons:Monuments_database/Indexed_images there is an api for the tracked images (action=images).
That api however always seems to return an empty set of images.
As reported on e.g. https://commons.wikimedia.org/wiki/Commons:Monuments_database/Indexed_images there is an api for the tracked images (action=images).
That api however always seems to return an empty set of images.
Ok. seems as though it doesn't always returns an empty set. E.g. https://tools.wmflabs.org/heritage/api/api.php?action=images&imcountry=be-vlg&imid=44&format=json returns something valid.
Digging in to this a bit more I see that the table doesn't seem to contain very many countries
+-----------+ | country | +-----------+ | at | | be-vlg | | fr | | fr-object | | ge | | gh | | it-bz | | nl-wd | | th | | tn | | us-ca | +-----------+