dhlab reference#
API endpoints#
The python package calls the DHLAB API to retrieve and present data from the digital texts.
- BASE_URL = 'https://api.nb.no/dhlab'#
REST-API URL adress to fulltext query functions
- NGRAM_API = 'https://api.nb.no/dhlab/nb_ngram/ngram/query'#
URL adress for API calls to ngram-databases
- GALAXY_API = 'https://api.nb.no/dhlab/nb_ngram_galaxies/galaxies/query'#
URL adress for word galaxy API queries