Skip to content

markpbaggett/oaitools.nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nim OAI Tools

Build and Test

A high-level OAI-PMH library for Nim.

Installation

nimble install https://github.com/markpbaggett/oaitools.nim

Examples

Get number of records in a request

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.get_complete_size("MODS")

Get metadata prefixes from a provider

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler")
echo x.list_metadata_formats()

Get a list of identifiers as a sequence that match a request

import oaitools

var x = newOaiRequest("https://dpla.lib.utk.edu/repox/OAIHandler", "utk_wderfilms")
echo x.list_identifiers("MODS")

More Documentation

All documentation and code examples can be found in this repository.

About

High level OAI-PMH library in Nim

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages