Skip to content

A collection of small corpuses of interesting data, from dariusk/corpora

License

Notifications You must be signed in to change notification settings

TheMicroservicesAgency/msa-corpora

Repository files navigation

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.

About

A collection of small corpuses of interesting data, from dariusk/corpora

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published