Here are just a few examples of the vast amount of content relating to World War I available through Trove. For an introduction to the Trove API, see GovHack tips and tricks.
WWI newspaper articles
There are millions of digitised newspaper articles available in Trove documenting the times and events of World War I.
- The Somme in 1916 (30,000 articles)
API query: http://api.trove.nla.gov.au/result?zone=newspaper&l-category=Article&q="The Somme"&l-decade=191&l-year=1916&encoding=json
- Returning soldiers in 1919 (145,000 articles)
API query: http://api.trove.nla.gov.au/result?zone=newspaper&l-category=Article&l-decade=191&q=returning soldiers &l-year=1919&encoding=json
WWI pictures & objects
See Grabbing thumbnails for more information on getting and using images.
- Pictures online with one of the subjects: World War 1; World War, 1914-1918; WW1 (106,000+ items)
API query: http://api.trove.nla.gov.au/result?zone=picture&q=subject:"World War 1" OR subject:"World War, 1914-1918" OR subject:"ww1"&l-availability=y&encoding=json
- "war memorial" photographs online (>300,000 items)
API query: http://api.trove.nla.gov.au/result?zone=picture&q="war memorial"&l-availability=y&l-format=Photograph&include=workVersions,links&encoding=json
Lists provide curated collections of items of Trove items. They can also include links to external websites. Public lists and their contents can be accessed through The trove API. Include the 'listItems' parameter in your query to retrieve the full contents of a list.
Keepsakes: Australians and the Great War
These lists were created to support the Keepsakes exhibition at the National Library of Australia.
- Search for all Keepsakes lists
API query: http://api.trove.nla.gov.au/result?q=keepsakes creator:"public:trovesupport"&zone=list
- Keepsakes: Australians and The Great War (124 items in exhibition)
API query: http://api.trove.nla.gov.au/list/64880?encoding=json&reclevel=full&include=listItems
- Music resources theme - War and Peace in Australia - Commemoration
API query: http://api.trove.nla.gov.au/list/1442?encoding=json&reclevel=full&include=listItems
- Search for "war memorial" in lists (315 results)
API query: http://api.trove.nla.gov.au/result?q="war memorial"&zone=list&encoding=json