Commons:Monuments database/API
Appearance
You can access the Monuments database using an API
Location
[edit]The api is hosted on Toolforge and accessible at https://heritage.toolforge.org/api/api.php
Examples
[edit]Example to query the API with a JSON format result:
- https://heritage.toolforge.org/api/api.php?action=search&format=json&srcountry=fr&srlang=fr&srmunicipality=[[Aix-en-Provence]]
Be careful in this example the municipality have brackets because of Wiki formatting.
Development
[edit]The source code of the api is available in git