Registrar structure

class cz_urnnbn_api.api_structures.registrar.Registrar(code, uid, name=None, description=None, created=None, modified=None, modes=None)

Bases: object

Class holding informations about Registrar.

uid

str – Id of the registrar in URN:NBN system.

code

str – Code of the registrar. Each organization has own.

name

str – Full name of the registrar.

created

str – ISO 8601 date string.

modified

str – ISO 8601 date string.

description

str – Description of the registrar.

modes

objModes instance with informations about allowed modes.

catalogs

list – List of Catalog instances with informations about catalogs used by this registrar.

digital_libraries

list – List of DigitalLibrary instances with informations about digital libraries used by registrar.

static from_xmldict(reg_tag)

Parse basic information about registrar.

Parameters:reg_tag (obj) – OrderedDict returned from xmltodict.
Returns:Registrar instance with basic informations.
Return type:obj