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

https://github.com/clarin-eric/oai-endpoints-get-formats


https://github.com/clarin-eric/oai-endpoints-get-formats

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

Script to fetch metadata prefixes from CLARIN metadata providers (B and C centres).
See [https://jira.eosc-hub.eu/browse/EOSCWP10-48](https://jira.eosc-hub.eu/browse/EOSCWP10-48)

# Dependencies

* bash

The following tools/commands will be assumed to be available in the shell environment:

* [curl](https://github.com/curl/curl)
* [jq](https://stedolan.github.io/jq)
* [xmlstarlet](http://xmlstar.sourceforge.net)

Let's assume you have bash and curl. On MacOS, install the dependencies using
[Brew](https://brew.sh/) with the following command:

```sh
brew install jq xmlstarlet
```

# Running

Run the script with bash:
```sh
bash oai-endpoints-get-formats.sh
```

# Output

* JSON file with compiled output: [endpoint-formats.json](./endpoint-formats.json)
* [HTML](./html) generated with [json2table.com](http://json2table.com)
* [preview](https://htmlpreview.github.io/?https://github.com/clarin-eric/oai-endpoints-get-formats/blob/master/html/endpoint-formats.html)