An open API service indexing awesome lists of open source software.

https://github.com/jaideraf/getpergamummarcrecords

A tool to get MARC records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON). Demonstration: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml
https://github.com/jaideraf/getpergamummarcrecords

library-catalog marc21 marcxml pergamum

Last synced: 7 months ago
JSON representation

A tool to get MARC records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON). Demonstration: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml

Awesome Lists containing this project

README

          

# getPergamumMarcRecords

A tool to get [MARC (Machine-Readable Cataloging)](https://en.wikipedia.org/wiki/MARC_standards) bibliographic records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON).

If you use an instance of Pergamum version 9 or you want to use a Python tool that uses Pergamum Web Service, see the [Library API](https://github.com/vitorsilverio/libraryapi) tool.

## Running

### Using Docker

- Get the source code: `git clone https://github.com/jaideraf/getPergamumMarcRecords && cd getPergamumMarcRecords`
- `docker build . -t jaideraf/getpergamummarcrecords`
- `docker run -p 8080:8080 -d jaideraf/getpergamummarcrecords`

or

- `docker-compose up -d`

### Locally

- Make sure you have [Node.js](https://nodejs.org/) 18.16.0+ installed.
- Get the source code: `git clone https://github.com/jaideraf/getPergamumMarcRecords && cd getPergamumMarcRecords`
- Install dependencies: `npm install`
- Start the application: `npm start`

Check it out: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml

## Developping

- `npm run dev`

## Demo

### Examples

- A MARC ISO 2709 record from Pergamum:

- A MARCXML record from Pergamum:

- A MARC text record (YAZ style) from Pergamum:

- A JSON MARC record from Pergamum:

- A JSON MARC record ([MIJ style](https://github.com/marc4j/marc4j/wiki/MARC-in-JSON-Description)) from Pergamum (default, if no "media_type" is specified):