The code for reading images from repositories is in https://github.com/Wikidocumentaries/wikidocumentaries-topic-search-api
It is possible to add new repositories by imitating one of the functions in rest.js such as getImagesFromFinnaWithTitle and adding the result in var images = []; on line 1122 currently.
Here are the APIs in the pipeline for images, see the task tree for maps
- Finna
- Wikimedia Commons / Structured Data on Commons
- Flickr / Flickr Commons
- Europeana
These can be considered and are investigated
- Internet Archive T213400
- Trove https://api.trove.nla.gov.au
- The Met https://github.com/metmuseum/openaccess
- Library of Congress https://www.loc.gov/apis/
- CC Search / Openverse T223361 https://api.openverse.engineering/v1/
- Getty Open Data and APIs https://www.getty.edu/projects/open-data-apis/
- Paris Musées https://apicollections.parismusees.paris.fr/en
- Ajapaik T210228
- Topotheks T213431
When there are more and more sources, it becomes essential to
- make the code modular and // Done
- perhaps create a API call creation / tweaking interface