home << dhlab reference << dhlab.metadata.natbib
metadata_query#
from dhlab.metadata.natbib import metadata_query
- metadata_query(conditions, limit=5)[source]#
Query the Norwegian National Bibliography using Marc 21 fields and values
Example: conditions = [
[“245”, “a”, “kongen”], [“008”, “”, “nno”] ]
- Parameters:
conditions (list of lists) – Marc 21 fields and values to search for
limit (int, optional) – number of records to return, defaults to 5
- Returns:
list of urns
- Return type:
json