home << dhlab reference << dhlab.api.dhlab_api
find_urns#
from dhlab.api.dhlab_api import find_urns
- find_urns(docids=None, mode='json')[source]#
Return a list of URNs from a collection of docids.
Call the API
BASE_URL
endpoint/find_urn
.- Parameters:
docids (Dict | DataFrame) – dictionary of document IDs (
{docid: URN}
) or apandas.DataFrame
.mode (str) – Default ‘json’.
- Returns:
the URNs that were found, in a
pandas.DataFrame
.- Return type:
DataFrame