Get a url that you can use to download the PDF copy of a newspaper article.
Usage: /pdf/[newspaper article id]
Get a random-ish newspaper article from Trove.
key: a Trove API key
query: limit the pool to articles matching this query (can be anything you might eneter in the Trove search box, eg. 'cats')
/random/?key=[YOUR API KEY]
/random/?key=[YOUR API KEY]&query=cats
/random/?key=[YOUR API KEY]&state=Tasmania
/random/?key=[YOUR API KEY]&title=35&category=Article
See this notebook for more information on the method used to select random articles.
Make a call to the Trove API via https. This will also redirect API calls to version 2 of the API.
Note that the Trove API now support https itself, so it's not necessary to use this proxy.
Usage: /api/[normal Trove API query (everything after 'http://api.trove.nla.gov.au' or 'http://api.trove.nla.gov.au/v2')]