A high-level OAI-PMH library for Nim.
nimble install https://github.com/markpbaggett/oaitools.nim
import oaitools
var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.get_complete_size("MODS")
import oaitools
var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.list_metadata_formats()
import oaitools
var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler", "utk_wderfilms")
echo x.list_identifiers("MODS")
All documentation and code examples can be found in this repository.