Botwiki Corpora API

If you're new to web APIs, check out these tutorials.

About the project

Botwiki Corpora API provides free access to the Corpora data, with more advanced features coming soon.

How to use

Currently, only the /corpora/data endpoint is accessible. You can browse the original Corpora repository to find the corpus you'd like to use, for example animals/birds_antarctica.json.

Copy the URL and replace

https://github.com/dariusk/corpora/blob/master

with

https://botwiki.org/api/corpora

Your final URL should then look like this:

https://botwiki.org/api/corpora/data/animals/birds_antarctica.json

Random corpus

There is an experimental endpoint at botwiki.org/corpora-api/?random (URL) that is being currently evaluated for further development.

One technical challenge is that the data doesn't follow any structure, making it unpredictable for the consumer of the API. More updates coming soon.

Notes and contact

The data is refreshed every hour, but feel free to reach out (or @botwikidotorg) if you need a more immediate update, or want to report any issues.

Any issues with the data (typos, other inaccuracies) should be reported to the original project.

See other Botwiki projects.

Botwiki is a personal side project that's made possible through donations and hard work and dedication. Huge thanks to everyone who helped us out! 🙌 PS: Here's a list of our supporters.