OpenDicio

November 13, 2020 ยท View on GitHub

Simple and extensible dictionary API for Brazilian Portuguese. I made this mainly to use with Babel, but it may be useful to someone else. The idea is, somewhere in the future, extend it to something like Datamuse, although it is still far from it. Custom dictionaries can be attached to OpenDicio following a format specified below.

Demo

You can try OpenDicio in https://opendicio.herokuapp.com/api/v1. Since I'm using Heroku's free tier, it may take a few seconds to bring the app online.

Usage

Documentation gerenated with openapi-generator from the OpenAPI specification in openapi-spec.json.

All URIs are relative to https://opendicio.herokuapp.com/api/v1

ClassHTTP requestDescription
DictionaryGET /mean/{word}Retrieve the full dictionary entry for a given word.
DictionaryGET /syn/{word}Retrieve synonyms for a given word.

Documentation for Models

Response

NameTypeDescriptionNotes
totalIntegerTotal number of entries found.[optional] [default to null]
dictsListDictionaries queried.[optional] [default to null]
dataObjectData grouped by each dictionary queried.[optional] [default to null]

Documentation for Authorization

All endpoints do not require authorization.