home << dhlab reference << dhlab.api

nb_search_api#

from dhlab.api import nb_search_api

Functions#

get_data(frase[, media, title])

get_data_and(frases[, title, media])

get_df(phrases[, title])

Get phrases from documents of title, and aggregate their frequencies.

get_df_pd(frase[, media])

get_json(phrases[, mediatype])

get_konks(urn, phrase[, window, n])

get_phrase_info(urn, phrase[, window, n])

iiif_manifest(urn)

Fetch the IIIF manifest of the images that the book

load_picture(url)

Load the raw image object from a URL.

mods(urn)

super_search(term[, number, page, mediatype])

Search for a term, return a json object with the matches.

total_search([size, page])

Retrieve the first size occurrences from page.