Files
BibAPI/test.py

14 lines
379 B
Python

from src.bibapi import SWB
from src.bibapi.sru import PicaSchema, QueryTransformer
s_title = "TITLE=Java ist auch eine Insel"
s_author = "AUTHOR=Ullenboom,Christian"
arguments = ["PPN=1172719780"]
transformed = QueryTransformer(api_schema=PicaSchema, arguments=arguments).transform()
print(transformed)
result = SWB().getBooks(transformed)
for book in result:
print(book)