srufetch

command
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Fetch SRU endpoint, raw acquisition.

Request w/o params will yield an ExplainResponse, e.g. http://sru.k10plus.de/gvk.

Example request:

http://sru.k10plus.de/gvk?version=1.2&operation=searchRetrieve&query=pica.ssg=24,1%20or%20pica.ssg=bbi%20or%20pica.sfk=bub%20or%20pica.osg=bbi&maximumRecords=10&startRecord=10

More on SRU: https://www.loc.gov/standards/sru/

TODO(miku): Out of range error, seems like 999999 is a maximum start record.

https://muscat.rism.info/sru?maximumRecords=20&operation=searchRetrieve&query=%2A&recordSchema=marc&startRecord=1000026&version=1.1

https://www.loc.gov/standards/sru/diagnostics/diagnosticsList.html says:

"For example, if the request matches 10 records, but the start position is greater than 10."

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL