A collection of small corpuses of interesting data, from dariusk/corpora
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
corpora @ e4538f4
scripts
.gitmodules
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
LICENSE
NAME
README.md
VERSION
app.rb
postman.json
run.sh
swagger.json

README.md

msa-corpora

A collection of small corpuses of interesting data, available via a RESTful API.

Data from https://github.com/dariusk/corpora, licensed under CC0.

Quick start

Execute the microservice container with the following command :

docker run -ti -p 9903:80 msagency/msa-corpora

Example(s)

$ curl http://localhost:9903/corpora/data/mathematics/primes.json

{
  "description": "The first 1000 prime numbers.",
  "primes": [
    2,
    3,
    5,
    7,
...

$ curl http://localhost:9903/corpora/data/foods/vegetables.json
{
  "description": "A list of vegetables.",
  "vegetables": [
    "acorn squash",
    "alfalfa sprout",
    "amaranth",
    "anise",
    "artichoke",
...

Endpoints

The complete list can in found in the swagger documentation.

Here are a few interesting ones :

Standard endpoints

About

A project by the Microservices Agency.