mardi_importer.zbmath module
mardi_importer.zbmath.ZBMathSource module
mardi_importer.zbmath.misc module
- mardi_importer.zbmath.misc.get_info_from_doi(doi, key)[source]
Query crossref API for DOI information.
- Parameters:
doi – doi
key – document_title only for now
- Returns:
document title
- Return type:
title
- mardi_importer.zbmath.misc.get_tag(tag_name, namespace)[source]
Returns a fully qualified tag name.
- Parameters:
tag_name (string) – name of tag, e.g. author
namespace (string) – namespace URL of a namespace
- mardi_importer.zbmath.misc.parse_doi_info(val, work_info)[source]
Function to extract information returned by a doi query for a specific tag.
- Parameters:
val (string) – tag, e.g. author
work_info (dict) – information from doi query response
- Returns:
information for specific tag, None if not found
- Return type:
string